Fix an autoconf bug for systems where popt is not in the default path

MAINT_6_0
Stephane Bortzmeyer 17 years ago
parent 6135490262
commit 83e1c21f5a

@ -60,15 +60,6 @@ echoping in 32bits. With gcc:
CFLAGS=-m32 ./configure --config-cache
make
If you get a:
checking size of int... configure: error: cannot compute sizeof (int)
it probably means configure's test programs cannot find libpopt (read
config.log if you want a confirmation). Set LD_LIBRARY_PATH to include
the directory where libpopt resides (it is not necessary to run
echoping, just for the compilation).
Standard "autoconf/configure" options are supported such as --prefix
to set the installation root directory.

@ -1,5 +1,5 @@
dnl $Id$
AC_INIT(echoping, 6.0.1, bortz@users.sourceforge.net)
AC_INIT(echoping, 6.1-BETA, bortz@users.sourceforge.net)
AC_CANONICAL_HOST
AC_PROG_CC(cc gcc)
AC_LIBTOOL_DLOPEN

@ -6,6 +6,10 @@ m4_include(configure-common.ac)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
dnl Checking size of ints, we often need it for binary protocols like ICP
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
dnl User options
dnl http://sources.redhat.com/ml/automake-prs/2001-q3/msg00033.html
max_iterations_specified=0
@ -174,10 +178,6 @@ AC_CHECK_FUNCS(dlopen, ,
[AC_CHECK_LIB(dl,dlopen, ,
[AC_MSG_ERROR([echoping requires dlopen (dynamic loading of libraries) for plugins])])])
dnl Checking size of ints, we often need it for binary protocols like ICP
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
if test "$LIBIDN" = "1"; then
CF_LIB_LIBIDN
fi

Loading…
Cancel
Save