/[hydra]/hydra/configure.in
ViewVC logotype

Diff of /hydra/configure.in

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

revision 1.14 by nmav, Tue Oct 1 22:43:39 2002 UTC revision 1.15 by nmav, Wed Oct 2 13:48:35 2002 UTC
# Line 40  AC_FUNC_SETVBUF_REVERSED Line 40  AC_FUNC_SETVBUF_REVERSED
40  AC_FUNC_MMAP  AC_FUNC_MMAP
41  AC_CHECK_FUNCS(getcwd strdup strstr)  AC_CHECK_FUNCS(getcwd strdup strstr)
42  AC_CHECK_FUNCS(gethostname gethostbyname select socket inet_aton)  AC_CHECK_FUNCS(gethostname gethostbyname select socket inet_aton)
43  AC_CHECK_FUNCS(scandir alphasort)  AC_CHECK_FUNCS(scandir alphasort qsort)
44    
45  AC_CHECK_STRUCT_FOR([  AC_CHECK_STRUCT_FOR([
46  #if TIME_WITH_SYS_TIME  #if TIME_WITH_SYS_TIME
# Line 108  fi Line 108  fi
108    
109  LIBS="$LIBS $MYLIBS"  LIBS="$LIBS $MYLIBS"
110    
 if test $ac_cv_func_scandir = no; then  
   # scandir not defined, add it  
   SCANDIR="scandir.o"  
 fi  
   
 if test $ac_cv_func_alphasort = no; then  
   # alphasort not defined, add it  
   ALPHASORT="alphasort.o"  
 fi  
   
111  # Try to find TCP_CORK and use it if found.  # Try to find TCP_CORK and use it if found.
112  AC_MSG_CHECKING([whether TCP_CORK is a valid TCP socket option])  AC_MSG_CHECKING([whether TCP_CORK is a valid TCP socket option])
113  AC_TRY_COMPILE(  AC_TRY_COMPILE(
# Line 217  if test "$use_hic" = "yes"; then Line 207  if test "$use_hic" = "yes"; then
207    )    )
208  fi  fi
209    
     
 if test $ac_cv_func_strdup = no -o $ac_cv_func_strstr = no; then  
   # strdup or strstr not defined  
   STRUTIL="strutil.o"  
 fi  
   
210  if test -n "$GCC"; then  if test -n "$GCC"; then
211    dnl if we are running gcc, use -pipe    dnl if we are running gcc, use -pipe
212    test -n "$GCC" && CFLAGS="$CFLAGS -pipe"    test -n "$GCC" && CFLAGS="$CFLAGS -pipe"
# Line 291  AC_ARG_WITH(efence, Line 275  AC_ARG_WITH(efence,
275    AC_MSG_RESULT(no)    AC_MSG_RESULT(no)
276  ])  ])
277    
278  dnl For anything that wasn't found but we have source for  AC_CONFIG_FILES([Makefile src/Makefile contrib/Makefile examples/Makefile docs/Makefile])
 AC_SUBST(STRUTIL)  
 AC_SUBST(ALPHASORT)  
 AC_SUBST(SCANDIR)  
   
 AC_CONFIG_FILES([Makefile src/Makefile extras/Makefile contrib/Makefile examples/Makefile docs/Makefile])  
279    
280  AC_OUTPUT  AC_OUTPUT
281    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26