Skip to content

Commit

Permalink
run autotools, makedepend
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed May 6, 2024
1 parent cf3f1fb commit 134c181
Show file tree
Hide file tree
Showing 6 changed files with 703 additions and 525 deletions.
101 changes: 53 additions & 48 deletions configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac 1b958239.
# From configure.ac 98f8972a.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for Eggdrop 1.9.5.
#
Expand Down Expand Up @@ -617,7 +617,7 @@ PACKAGE_TARNAME='eggdrop'
PACKAGE_VERSION='1.9.5'
PACKAGE_STRING='Eggdrop 1.9.5'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_URL=''
PACKAGE_URL='https://www.eggheads.org'

ac_unique_file="src/eggdrop.h"
ac_default_prefix=\${HOME}/eggdrop
Expand Down Expand Up @@ -660,7 +660,6 @@ MOD_UPDIR
DEST
EGGVERSION
egg_with_python_config
egg_enable_python
SSL_LIBS
SSL_INCLUDES
DEBCFLGS
Expand Down Expand Up @@ -803,7 +802,6 @@ enable_tls
with_sslinc
with_ssllib
enable_tdns
enable_python
with_python_config
'
ac_precious_vars='build_alias
Expand Down Expand Up @@ -1462,8 +1460,6 @@ Optional Features and Packages:
--with-sslinc=PATH Path to OpenSSL headers
--with-ssllib=PATH Path to OpenSSL libraries
--disable-tdns disable threaded DNS core
--enable-python enable Python support (autodetect)
--disable-python disable Python support
--with-python-config=PATH Path to python-config
Some influential environment variables:
Expand All @@ -1480,6 +1476,7 @@ Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
Report bugs to <[email protected]>.
Eggdrop home page: <https://www.eggheads.org>.
_ACEOF
ac_status=$?
fi
Expand Down Expand Up @@ -8316,6 +8313,13 @@ rm -rf conftest*
# Check for b64_ntop. If we have b64_ntop, we assume b64_pton as well.
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for b64_ntop" >&5
printf %s "checking for b64_ntop... " >&6; }
if test "$cross_compiling" = yes
then :
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "cannot run test program while cross compiling
See \`config.log' for more details" "$LINENO" 5; }
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
Expand All @@ -8331,15 +8335,17 @@ b64_ntop(NULL, 0, NULL, 0);
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
if ac_fn_c_try_run "$LINENO"
then :
found_b64_ntop=yes
else $as_nop
found_b64_ntop=no

fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi

if test "x$found_b64_ntop" = xno; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
Expand All @@ -8348,7 +8354,14 @@ printf "%s\n" "no" >&6; }
printf %s "checking for b64_ntop with -lresolv... " >&6; }
OLD_LIBS="$LIBS"
LIBS="$LIBS -lresolv"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
if test "$cross_compiling" = yes
then :
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "cannot run test program while cross compiling
See \`config.log' for more details" "$LINENO" 5; }
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
Expand All @@ -8363,15 +8376,17 @@ b64_ntop(NULL, 0, NULL, 0);
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
if ac_fn_c_try_run "$LINENO"
then :
found_b64_ntop=yes
else $as_nop
found_b64_ntop=no

fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi

if test "x$found_b64_ntop" = xno; then
LIBS="$OLD_LIBS"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
Expand All @@ -8381,7 +8396,14 @@ printf "%s\n" "no" >&6; }
printf %s "checking for b64_ntop with -lnetwork... " >&6; }
OLD_LIBS="$LIBS"
LIBS="-lnetwork"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
if test "$cross_compiling" = yes
then :
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
as_fn_error $? "cannot run test program while cross compiling
See \`config.log' for more details" "$LINENO" 5; }
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
Expand All @@ -8396,15 +8418,17 @@ b64_ntop(NULL, 0, NULL, 0);
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"
if ac_fn_c_try_run "$LINENO"
then :
found_b64_ntop=yes
else $as_nop
found_b64_ntop=no

fi
rm -f core conftest.err conftest.$ac_objext conftest.beam \
conftest$ac_exeext conftest.$ac_ext
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
conftest.$ac_objext conftest.beam conftest.$ac_ext
fi

if test "x$found_b64_ntop" = xno; then
LIBS="$OLD_LIBS"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
Expand Down Expand Up @@ -10124,7 +10148,7 @@ if test ${enable_tls+y}
then :
enableval=$enable_tls; tls_enabled="$enableval"
else $as_nop
tls_enabled="$enableval"
tls_enabled="yes"
fi
Expand Down Expand Up @@ -10611,39 +10635,19 @@ printf "%s\n" "#define EGG_TDNS 1" >>confdefs.h
# Check for Python
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to compile the Python module" >&5
$as_echo_n "checking whether to compile the Python module... " >&6; }
# Check whether --enable-python was given.
if test "${enable_python+set}" = set; then :
enableval=$enable_python; egg_enable_python="$enableval"
fi
# Check whether --enable-python was given.
if test "${enable_python+set}" = set; then :
enableval=$enable_python; egg_enable_python="$enableval"
else
egg_enable_python="autodetect"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $egg_enable_python" >&5
$as_echo "$egg_enable_python" >&6; }
EGG_PYTHON_ENABLE
# Check whether --with-python-config was given.
if test "${with_python_config+set}" = set; then :
if test ${with_python_config+y}
then :
withval=$with_python_config;
if test "x$enable_python" != "xno"; then
if test -d "$withval" || test -x "$withval"; then
egg_with_python_config="$withval"
else
egg_with_python_config="no"
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid path to python-config. $withval is not a directory and not an executable." >&5
$as_echo "$as_me: WARNING: Invalid path to python-config. $withval is not a directory and not an executable." >&2;}
fi
if test -d "$withval" || test -x "$withval"; then
egg_with_python_config="$withval"
else
egg_with_python_config="no"
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Invalid path to python-config. $withval is not a directory and not an executable." >&5
printf "%s\n" "$as_me: WARNING: Invalid path to python-config. $withval is not a directory and not an executable." >&2;}
fi
fi
Expand Down Expand Up @@ -11262,7 +11266,8 @@ $config_headers
Configuration commands:
$config_commands
Report bugs to <[email protected]>."
Report bugs to <[email protected]>.
Eggdrop home page: <https://www.eggheads.org>."
_ACEOF
ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
Expand Down
12 changes: 5 additions & 7 deletions src/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,12 @@ dcc.o: dcc.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
modules.h mod/modvals.h tandem.h md5/md5.h
tandem.h md5/md5.h
dccutil.o: dccutil.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h \
tandem.h
compat/explicit_bzero.h compat/strlcpy.h tandem.h
dns.o: dns.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
Expand All @@ -144,7 +143,7 @@ main.o: main.c ../config.h main.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
../src/main.h compat/snprintf.h compat/explicit_bzero.h compat/strlcpy.h \
version.h modules.h mod/modvals.h tandem.h bg.h
version.h modules.h mod/modvals.h bg.h
match.o: match.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
Expand Down Expand Up @@ -200,13 +199,12 @@ tclmisc.o: tclmisc.c main.h ../config.h ../eggint.h ../lush.h lang.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h \
tandem.h md5/md5.h
md5/md5.h
tcluser.o: tcluser.c main.h ../config.h ../eggint.h ../lush.h lang.h \
eggdrop.h compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h \
tclhash.h chan.h users.h compat/compat.h compat/base64.h \
compat/inet_aton.h ../src/main.h compat/snprintf.h \
compat/explicit_bzero.h compat/strlcpy.h tandem.h modules.h \
mod/modvals.h
compat/explicit_bzero.h compat/strlcpy.h modules.h mod/modvals.h
tls.o: tls.c main.h ../config.h ../eggint.h ../lush.h lang.h eggdrop.h \
compat/in6.h flags.h proto.h misc_file.h cmdt.h tclegg.h tclhash.h \
chan.h users.h compat/compat.h compat/base64.h compat/inet_aton.h \
Expand Down
2 changes: 1 addition & 1 deletion src/mod/compress.mod/configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac 1b958239.
# From configure.ac 98f8972a.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for Eggdrop Compress Module 1.9.5.
#
Expand Down
2 changes: 1 addition & 1 deletion src/mod/dns.mod/configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac 1b958239.
# From configure.ac 98f8972a.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.71 for Eggdrop DNS Module 1.9.5.
#
Expand Down
4 changes: 2 additions & 2 deletions src/mod/python.mod/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ distclean: clean
../../../src/mod/modvals.h ../../../src/tandem.h \
../../../src/mod/irc.mod/irc.h ../../../src/mod/server.mod/server.h \
../../../src/mod/python.mod/python.h \
../../../src/mod/python.mod/tclpython.c \
../../../src/mod/python.mod/pycmds.c
../../../src/mod/python.mod/pycmds.c \
../../../src/mod/python.mod/tclpython.c
Loading

0 comments on commit 134c181

Please sign in to comment.