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

Diff of /hydra/configure.in

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

revision 1.5 by nmav, Fri Sep 27 10:35:54 2002 UTC revision 1.8 by nmav, Sat Sep 28 10:12:14 2002 UTC
# Line 4  AC_PREREQ(2.50) Line 4  AC_PREREQ(2.50)
4    
5  AC_INIT  AC_INIT
6    
7  SERVER_VERSION="0.0.2"  SERVER_VERSION="0.0.3"
8  AC_DEFINE_UNQUOTED(SERVER_VERSION, "$SERVER_VERSION", [Version of Hydra])  AC_DEFINE_UNQUOTED(SERVER_VERSION, "$SERVER_VERSION", [Version of Hydra])
9  AC_DEFINE_UNQUOTED(SERVER_NAME, "Hydra", [Name of the server])  AC_DEFINE_UNQUOTED(SERVER_NAME, "Hydra", [Name of the server])
10    
# Line 190  if test "$use_smp" = "yes"; then Line 190  if test "$use_smp" = "yes"; then
190    CFLAGS="$CFLAGS -D_REENTRANT"    CFLAGS="$CFLAGS -D_REENTRANT"
191  fi  fi
192    
193    if test "$use_smp" = "yes"; then use_hic=yes
194    else use_hic = no
195    fi
196    
197    AC_MSG_CHECKING(whether to include HIC (internally handled CGIs) support)
198    AC_ARG_ENABLE(hic, [  --disable-hic           Do not include HIC support],
199     [
200      if test "$enableval" = "yes" ; then
201        if test "$use_smp" = "yes"; then use_hic=yes
202        else use_hic = no
203        fi
204      else
205       use_hic=no
206      fi
207     ]
208    )
209    
210    AC_MSG_RESULT($use_hic)
211    
212    if test "$use_hic" = "yes"; then
213      AC_CHECK_LIB(dl, dlopen,
214       LIBS="$LIBS -ldl"
215       AC_DEFINE( ENABLE_HIC, 1, [whether to use HIC code])
216      )
217    fi
218    
219        
220  if test $ac_cv_func_strdup = no -o $ac_cv_func_strstr = no; then  if test $ac_cv_func_strdup = no -o $ac_cv_func_strstr = no; then
221    # strdup or strstr not defined    # strdup or strstr not defined

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26