/[pengfork]/pengfork/configure.ac
ViewVC logotype

Diff of /pengfork/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.16 by chupa, Thu Sep 12 08:44:49 2002 UTC revision 1.17 by chupa, Tue Nov 26 01:22:31 2002 UTC
# Line 38  AC_CANONICAL_HOST Line 38  AC_CANONICAL_HOST
38  CFLAGS=$CFLAGS  CFLAGS=$CFLAGS
39  AC_LANG_C  AC_LANG_C
40  AC_PROG_CC  AC_PROG_CC
41    AC_PROG_INSTALL
42    AC_PROG_AWK
43    AC_PROG_RANLIB
44    
45  # CFLAGS  # CFLAGS
46  if test $GCC = yes; then  if test $GCC = yes; then
# Line 78  AC_HEADER_STDC Line 81  AC_HEADER_STDC
81  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h syslog.h unistd.h)  AC_CHECK_HEADERS(fcntl.h sys/ioctl.h sys/time.h syslog.h unistd.h)
82    
83  # linux tuntap driver  # linux tuntap driver
84  AC_CHECK_HEADERS([linux/if_tun.h])  AC_CHECK_HEADERS([arpa/inet.h fcntl.h libintl.h locale.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h termios.h unistd.h linux/if_tun.h])
85    
86  #Checks for typedefs, structures, and compiler characteristics.  #Checks for typedefs, structures, and compiler characteristics.
87  AC_C_CONST  AC_C_CONST
# Line 87  AC_TYPE_SIZE_T Line 90  AC_TYPE_SIZE_T
90  AC_HEADER_TIME  AC_HEADER_TIME
91    
92  #Checks for library functions.  #Checks for library functions.
93    AC_FUNC_FORK
94  AC_PROG_GCC_TRADITIONAL  AC_PROG_GCC_TRADITIONAL
95    AC_FUNC_MALLOC
96    AC_TYPE_SIGNAL
97    AC_FUNC_STAT
98  AC_FUNC_VPRINTF  AC_FUNC_VPRINTF
99  AC_CHECK_FUNCS(putenv select socket strdup strstr strtol)  AC_CHECK_FUNCS([bzero gethostbyname inet_ntoa memchr memmove memset putenv select setlocale socket strchr strdup strerror strrchr strstr strtol])
100    
101    
102  # Disable debugging  # Disable debugging
103  AC_ARG_ENABLE(debug,  AC_ARG_ENABLE(debug,
# Line 112  AC_ARG_ENABLE(werror, Line 120  AC_ARG_ENABLE(werror,
120  )  )
121    
122  # Modem driver  # Modem driver
123    # Note: Guile is required for chat script
124  AC_ARG_ENABLE(modem,  AC_ARG_ENABLE(modem,
125    [  --disable-modem    Disable modem driver],    [  --disable-modem    Disable modem driver],
126    if test $enableval != "no"; then    if test $enableval != "no"; then
127       AC_DEFINE([WITH_MODEM],,[ Enable/disable modem driver ])       AC_DEFINE([WITH_MODEM],,[ Enable/disable modem driver ])
128         GUILE_FLAGS
129         CFLAGS="$CFLAGS $GUILE_CFLAGS"
130         LDFLAGS="$LDFLAGS $GUILE_LDFLAGS"
131    fi,    fi,
132    AC_DEFINE([WITH_MODEM])    AC_DEFINE([WITH_MODEM])
133      GUILE_FLAGS
134      CFLAGS="$CFLAGS $GUILE_CFLAGS"
135      LDFLAGS="$LDFLAGS $GUILE_LDFLAGS"
136  )  )
137    
138  # Cable driver  # Cable driver
# Line 178  AM_CONFIG_HEADER(config.h) Line 193  AM_CONFIG_HEADER(config.h)
193  # Output Files  # Output Files
194  AC_CONFIG_FILES([Makefile  AC_CONFIG_FILES([Makefile
195                    config/Makefile                    config/Makefile
196                      doc/Makefile
197                      doc/config/Makefile
198                    lib/Makefile                    lib/Makefile
199                    src/Makefile                    src/Makefile
200                      src/p3/Makefile                      src/p3/Makefile

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26