ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/releases/1.0.6/configure.ac
Revision: 5213
Committed: Mon Dec 29 20:16:48 2014 UTC (11 years, 7 months ago) by michael
Content type: application/pkix-attr-cert
Original Path: hopm/branches/1.0.x/configure.ac
File size: 1532 byte(s)
Log Message:
- configure.ac: removed with-extra-fascism switch

File Contents

# User Rev Content
1 michael 5052 dnl Process this file with autoconf to produce a configure script.
2 michael 5061 AC_INIT(hopm, [1.0.0beta1])
3 michael 5052 AC_CONFIG_SRCDIR(src/opercmd.h)
4 michael 5144 AC_CONFIG_HEADER(src/setup.h)
5 michael 5052 AM_INIT_AUTOMAKE()
6 michael 5061 AC_PREFIX_DEFAULT([\${HOME}/hopm])
7 michael 5052 AM_MAINTAINER_MODE
8    
9     dnl Checks for programs.
10 michael 5059 AC_PROG_CC_C99
11     AS_IF([test "$ac_cv_prog_cc_c99" = "no"],
12     [AC_MSG_ERROR([no suitable C99 compiler found. Aborting.])])
13 michael 5052 AC_PROG_LIBTOOL
14    
15     dnl Checks for libraries.
16    
17     dnl Checks for header files.
18     AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no)
19    
20 michael 5210 AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
21 michael 5052
22     dnl Checks for typedefs, structures, and compiler characteristics.
23     AC_HEADER_TIME
24     AC_STRUCT_TM
25    
26     dnl check for yacc
27     AC_PROG_INSTALL
28     AC_PROG_YACC
29    
30     dnl check for lexx
31     AM_PROG_LEX
32    
33     dnl check if we need -lsocket or -lnsl
34 michael 5062 AC_SEARCH_LIBS([socket],[socket],,[AC_MSG_ERROR([socket library not found])])
35     AC_CHECK_FUNC(getaddrinfo, [], AC_SEARCH_LIBS(getaddrinfo, nsl))
36     AC_CHECK_FUNC(getnameinfo, [], AC_SEARCH_LIBS(getnameinfo, nsl))
37 michael 5052
38 michael 5173 AC_CHECK_FUNCS(strlcpy strlcat socket)
39 michael 5052
40     dnl AIX fun
41     AC_C_BIGENDIAN
42    
43    
44     AC_CONFIG_SUBDIRS(src/libopm)
45    
46 michael 5122 AC_CONFIG_FILES(Makefile doc/Makefile src/Makefile)
47     AC_OUTPUT
48 michael 5052
49    
50 michael 5110 echo "###############################################################################"
51     echo "Configuration complete. Type make (or gmake on some *BSD machines) to compile."
52 michael 5052 echo
53 michael 5110 echo "HOPM will be installed in ${prefix}. To change this, run:"
54 michael 5052 echo " ./configure --prefix=DIRECTORY"
55 michael 5110 echo "###############################################################################"

Properties

Name Value
svn:eol-style native
svn:keywords Id