Skip to content
Permalink
Browse files

Run autotools

  • Loading branch information...
vanosg committed Jul 3, 2019
1 parent 71c032b commit 5445dd00e702b3740206be2b05ac803956d2b5db
Showing with 60 additions and 172 deletions.
  1. +0 −36 config.h.in
  2. +32 −132 configure
  3. +14 −2 src/mod/compress.mod/configure
  4. +14 −2 src/mod/dns.mod/configure
@@ -40,9 +40,6 @@
/* Define for context debugging. */
#undef DEBUG_CONTEXT

/* Define if running on SunOS 4.0. */
#undef DLOPEN_1

/* Arguments passed to configure */
#undef EGG_AC_ARGS_RAW

@@ -105,9 +102,6 @@
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H

/* Define to 1 if you have the `fsync' function. */
#undef HAVE_FSYNC

/* Define to 1 if you have the `gethostbyname2' function. */
#undef HAVE_GETHOSTBYNAME2

@@ -147,9 +141,6 @@
/* Define to 1 if you have the `crypto' library (-lcrypto). */
#undef HAVE_LIBCRYPTO

/* Define to 1 if you have the `dl' library (-ldl). */
#undef HAVE_LIBDL

/* Define to 1 if you have the `dld' library (-ldld). */
#undef HAVE_LIBDLD

@@ -177,9 +168,6 @@
/* Define to 1 if you have the <mach-o/rld.h> header file. */
#undef HAVE_MACH_O_RLD_H

/* Define to 1 if you have the `mbrlen' function. */
#undef HAVE_MBRLEN

/* Define to 1 if you have the `MD5_Final' function. */
#undef HAVE_MD5_FINAL

@@ -231,9 +219,6 @@
/* Define to 1 if you have the `RAND_status' function. */
#undef HAVE_RAND_STATUS

/* Define to 1 if you have the `rename' function. */
#undef HAVE_RENAME

/* Define to 1 if you have the <rld.h> header file. */
#undef HAVE_RLD_H

@@ -246,12 +231,6 @@
/* Define to 1 if you have the `shl_load' function. */
#undef HAVE_SHL_LOAD

/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION

/* Define to 1 if you have the `sigemptyset' function. */
#undef HAVE_SIGEMPTYSET

/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF

@@ -270,12 +249,6 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the `strcasecmp' function. */
#undef HAVE_STRCASECMP

/* Define to 1 if you have the `strftime' function. */
#undef HAVE_STRFTIME

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

@@ -285,9 +258,6 @@
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY

/* Define to 1 if you have the `strncasecmp' function. */
#undef HAVE_STRNCASECMP

/* Define to 1 if the system has the type `struct in6_addr'. */
#undef HAVE_STRUCT_IN6_ADDR

@@ -341,9 +311,6 @@
`tzname'. */
#undef HAVE_TZNAME

/* Define to 1 if you have the `uname' function. */
#undef HAVE_UNAME

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

@@ -378,9 +345,6 @@
/* Define if modules should be loaded using the shl_*() functions. */
#undef MOD_USE_SHL

/* Define if running under NetBSD. */
#undef NETBSD_HACKS

/* Define this to hex_to_string when using OpenSSL < 1.1.0 */
#undef OPENSSL_buf2hexstr

164 configure
@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac 66287c26.
# From configure.ac 71c032bf.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Eggdrop 1.8.4.
#
@@ -730,6 +730,7 @@ infodir
docdir
oldincludedir
includedir
runstatedir
localstatedir
sharedstatedir
sysconfdir
@@ -814,6 +815,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1066,6 +1068,15 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;

-runstatedir | --runstatedir | --runstatedi | --runstated \
| --runstate | --runstat | --runsta | --runst | --runs \
| --run | --ru | --r)
ac_prev=runstatedir ;;
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
| --run=* | --ru=* | --r=*)
runstatedir=$ac_optarg ;;

-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1203,7 +1214,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
libdir localedir mandir runstatedir
do
eval ac_val=\$$ac_var
# Remove trailing slashes.
@@ -1356,6 +1367,7 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
@@ -4869,50 +4881,8 @@ fi
fi


if test "$SUNOS" = yes; then
# For suns without yp
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldl" >&5
$as_echo_n "checking for main in -ldl... " >&6; }
if ${ac_cv_lib_dl_main+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-ldl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
int
main ()
{
return main ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_dl_main=yes
else
ac_cv_lib_dl_main=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_main" >&5
$as_echo "$ac_cv_lib_dl_main" >&6; }
if test "x$ac_cv_lib_dl_main" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBDL 1
_ACEOF

LIBS="-ldl $LIBS"

fi

else
if test "$HPUX" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
if test "$HPUX" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
$as_echo_n "checking for shl_load in -ldld... " >&6; }
if ${ac_cv_lib_dld_shl_load+:} false; then :
$as_echo_n "(cached) " >&6
@@ -4957,7 +4927,6 @@ _ACEOF

fi

fi
fi
fi

@@ -5177,15 +5146,7 @@ done
esac
;;
SunOS)
if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 5; then
# We've had quite a bit of testing on Solaris.
WEIRD_OS="no"
else
# SunOS 4

$as_echo "#define DLOPEN_1 1" >>confdefs.h

fi
;;
FreeBSD|OpenBSD|NetBSD|DragonFly)
WEIRD_OS="no"
@@ -5316,7 +5277,7 @@ _ACEOF
SHLIB_STRIP="$STRIP"
LINUX="no"
IRIX="no"
SUNOS="no"
SUNOS_GCC="no"
HPUX="no"
EGG_CYGWIN="no"

@@ -5429,32 +5390,18 @@ $as_echo "#define STOP_UAC 1" >>confdefs.h

;;
SunOS)
if test `echo "$egg_cv_var_system_release" | cut -d . -f 1` = 5; then
# Solaris
if test -n "$GCC"; then
SHLIB_CC="$CC -fPIC"
SHLIB_LD="$CC -shared"
else
SHLIB_CC="$CC -KPIC"
SHLIB_LD="$CC -G -z text"
fi
if test -n "$GCC"; then
SUNOS_GCC="yes"
SHLIB_CC="$CC -fPIC"
SHLIB_LD="$CC -shared"
else
# SunOS 4
SUNOS="yes"
SHLIB_LD="ld"
SHLIB_CC="$CC -PIC"
SHLIB_CC="$CC -KPIC"
SHLIB_LD="$CC -G -z text"
fi
;;
FreeBSD|OpenBSD|NetBSD)
SHLIB_CC="$CC -fPIC"
SHLIB_LD="$CC -shared"
case "$egg_cv_var_system_type" in
*NetBSD)

$as_echo "#define NETBSD_HACKS 1" >>confdefs.h

;;
esac
;;
DragonFly)
SHLIB_CC="$CC -fPIC"
@@ -6797,7 +6744,7 @@ ac_config_commands="$ac_config_commands $ac_stdint_h"


# Checks for functions and their arguments.
for ac_func in clock dprintf fsync getrandom getrusage inet_aton inet_ntop isascii mbrlen random rand lrand48 rename setpgid sigaction sigemptyset snprintf strcasecmp strlcpy strncasecmp uname vsnprintf
for ac_func in clock dprintf getrandom getrusage inet_aton inet_ntop isascii random rand lrand48 setpgid snprintf strlcpy vsnprintf
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -6915,61 +6862,6 @@ EOF
exit 1
fi

for ac_func in strftime
do :
ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
if test "x$ac_cv_func_strftime" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_STRFTIME 1
_ACEOF

else
# strftime is in -lintl on SCO UNIX.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
$as_echo_n "checking for strftime in -lintl... " >&6; }
if ${ac_cv_lib_intl_strftime+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lintl $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char strftime ();
int
main ()
{
return strftime ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_intl_strftime=yes
else
ac_cv_lib_intl_strftime=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
$as_echo "$ac_cv_lib_intl_strftime" >&6; }
if test "x$ac_cv_lib_intl_strftime" = xyes; then :
$as_echo "#define HAVE_STRFTIME 1" >>confdefs.h

LIBS="-lintl $LIBS"
fi

fi
done




@@ -7149,6 +7041,8 @@ main ()
if (*(data + i) != *(data3 + i))
return 14;
close (fd);
free (data);
free (data3);
return 0;
}
_ACEOF
@@ -8115,6 +8009,12 @@ $as_echo "$SHLIB_LD" >&6; }
TCL_LIB_SPEC=$(echo $TCL_LIB_SPEC | sed -- 's/-ldl//g')
fi

if test "$SUNOS_GCC" = yes; then
SHLIB_LD=$(echo $SHLIB_LD | sed -- 's/-z text//')
{ $as_echo "$as_me:${as_lineno-$LINENO}: SunOS found, SHLIB_LD = $SHLIB_LD" >&5
$as_echo "$as_me: SunOS found, SHLIB_LD = $SHLIB_LD" >&6;}
fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl version" >&5
$as_echo_n "checking for Tcl version... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCL_PATCHLEVEL" >&5

0 comments on commit 5445dd0

Please sign in to comment.
You can’t perform that action at this time.