Skip to content

Commit

Permalink
Run autotools
Browse files Browse the repository at this point in the history
  • Loading branch information
thommey committed Sep 7, 2020
1 parent 6ea0611 commit 79be510
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 42 deletions.
6 changes: 0 additions & 6 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@
/* Define to 1 if you have the <dl.h> header file. */
#undef HAVE_DL_H

/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
#undef HAVE_DOPRNT

/* Define to 1 if you have the `dprintf' function. */
#undef HAVE_DPRINTF

Expand Down Expand Up @@ -314,9 +311,6 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the `vprintf' function. */
#undef HAVE_VPRINTF

/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF

Expand Down
68 changes: 34 additions & 34 deletions configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac b92866ee.
# From configure.ac 6ea0611c.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Eggdrop 1.9.0.
#
Expand Down Expand Up @@ -6895,6 +6895,39 @@ rm -f core conftest.err conftest.$ac_objext \
LIBS="$OLD_LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for b64_ntop with -lnetwork" >&5
$as_echo_n "checking for b64_ntop with -lnetwork... " >&6; }
OLD_LIBS="$LIBS"
LIBS="-lnetwork"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sys/types.h>
#include <netinet/in.h>
#include <resolv.h>
int
main ()
{
b64_ntop(NULL, 0, NULL, 0);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
found_b64_ntop=yes
else
found_b64_ntop=no

fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
if test "x$found_b64_ntop" = xno; then
LIBS="$OLD_LIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
fi
fi
if test "x$found_b64_ntop" = xyes; then
Expand All @@ -6913,37 +6946,6 @@ esac
fi


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

ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
if test "x$ac_cv_func__doprnt" = xyes; then :

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

fi

fi
done


if test "$ac_cv_func_vprintf" = no; then
cat << 'EOF' >&2
configure: error:
Your system does not have the vprintf/vsprintf/sprintf libraries.
These are required to compile almost anything. Sorry.
EOF
exit 1
fi




for ac_header in $ac_header_list
Expand Down Expand Up @@ -7122,8 +7124,6 @@ main ()
if (*(data + i) != *(data3 + i))
return 14;
close (fd);
free (data);
free (data3);
return 0;
}
_ACEOF
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 b92866ee.
# From configure.ac 6ea0611c.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Eggdrop Compress Module 1.9.0.
#
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 b92866ee.
# From configure.ac 6ea0611c.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for Eggdrop DNS Module 1.9.0.
#
Expand Down

0 comments on commit 79be510

Please sign in to comment.