190 |
CFLAGS="$CFLAGS -D_REENTRANT" |
CFLAGS="$CFLAGS -D_REENTRANT" |
191 |
fi |
fi |
192 |
|
|
193 |
|
use_hic=yes |
194 |
|
|
195 |
|
AC_MSG_CHECKING(whether to include HIC (internally handled CGIs) support) |
196 |
|
AC_ARG_ENABLE(hic, [ --disable-hic Do not include HIC support], |
197 |
|
[ |
198 |
|
if test "$enableval" = "yes" ; then |
199 |
|
use_hic=yes |
200 |
|
else |
201 |
|
use_hic=no |
202 |
|
fi |
203 |
|
] |
204 |
|
) |
205 |
|
|
206 |
|
AC_MSG_RESULT($use_hic) |
207 |
|
|
208 |
|
if test "$use_hic" = "yes"; then |
209 |
|
AC_CHECK_LIB(dl, dlopen, |
210 |
|
LIBS="$LIBS -ldl" |
211 |
|
AC_DEFINE( ENABLE_HIC, 1, [whether to use HIC code]) |
212 |
|
) |
213 |
|
fi |
214 |
|
|
215 |
|
|
216 |
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 |
217 |
# strdup or strstr not defined |
# strdup or strstr not defined |