Hi,

On Aug 30, 2005, at 4:46 AM, Andreas Fink wrote:

Hi folks,

I figured out an issue with Autoconf & Kannel.
I'm trying to extend it with some additional command line option. So I modified configure.in and run autoconf. I realize now that whenever you run autoconf 2.53 to build a configure script, the resulting configure script is pretty useless. the problems you will see while using ./configure after having run autoconf 2.53 is that

1) you will see errors like this

configure: WARNING: openssl/err.h: present but cannot be compiled
configure: WARNING: openssl/err.h: check for missing prerequisite headers?
configure: WARNING: openssl/err.h: see the Autoconf documentation
configure: WARNING: openssl/err.h: section "Present But Cannot Be Compiled" configure: WARNING: openssl/err.h: proceeding with the preprocessor's result configure: WARNING: openssl/err.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ##



If you just comment out 2 lines like this:

dnl AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r"; pthread="yes"]) dnl AC_CHECK_LIB(kse, pthread_exit, [LIBS="$LIBS -lkse"; pthread="yes"])

these will disappear. If they remain, autoconf does not generate ok code, but just drops end of case statement, adding lots of following tests to the bsd branch. Can someone with access to openbsd or freebsd fix this. You probably must
do AC_CHECK_LIB outside the case; autoconf seems to expand macros
quite blindly.

Aarno


checking for gcc... gcc
checking whether we are using the GNU C compiler... no

(uh no gcc on Linux and MacOS X? cant be!)


suddendly missing headers (the test compilation for those seems to fail)
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for short... no
checking size of short... 0
checking for int... no
checking size of int... 0
checking for long... no
checking size of long... 0
checking for long long... no
checking size of long long... 0
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking for inet_ntop in -lresolv... yes
checking for inet_ntop in -lbind... no
checking for pthread_exit in -lpthread... yes
checking for libiconv in -liconv... no
checking for ANSI C header files... (cached) no
checking sys/ioctl.h usability... no
checking sys/ioctl.h presence... yes


Anyone having seen similar issues?
I really dont want to edit configure by hand to get around this...





Andreas Fink
Fink Consulting GmbH

---------------------------------------------------------------
Tel: +41-61-6666332 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]
Homepage: http://www.finkconsulting.com
---------------------------------------------------------------

ICQ: 101946485 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333
PGP9: 0714 DF2B A189 A760 6201  5CBD D040 3E71 4DAF 68BB






Reply via email to