bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dlfcn.h (libtool 1.5.23b)


From: deckrider
Subject: dlfcn.h (libtool 1.5.23b)
Date: Wed, 30 May 2007 16:09:16 -0600

I don't know whether this is a bug or not ...

I'm on:

$ uname -a
HP-UX omztdv1 B.11.23 U ia64 2505142627 unlimited-user license

$ libtool --version
ltmain.sh (GNU libtool) 1.5.23b (1.1220.2.437 2007/02/17 09:08:45)

$ automake --version
automake (GNU automake) 1.10

$ autoconf --version
autoconf (GNU Autoconf) 2.61

I'm getting this output when running configure:

checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... no
configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the
preprocessor!
configure: WARNING: dlfcn.h: proceeding with the compiler's result
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... aCC +DD64 -Wl,+k -E

In the corresponding config.log is this:

configure:6055: checking for unistd.h
configure:6076: aCC +DD64 -Wl,+k -c -g  conftest.cpp >&5
configure:6082: $? = 0
configure:6098: result: yes
configure:6125: checking dlfcn.h usability
configure:6142: aCC +DD64 -Wl,+k -c -g  conftest.cpp >&5
configure:6148: $? = 0
configure:6162: result: yes
configure:6166: checking dlfcn.h presence
configure:6181:   conftest.cpp
../configure[6182]: conftest.cpp:  not found.
configure:6187: $? = 127
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "impact-transport"
| #define PACKAGE_TARNAME "impact-transport"
| #define PACKAGE_VERSION "2007.2.38"
| #define PACKAGE_STRING "impact-transport 2007.2.38"
| #define PACKAGE_BUGREPORT "address@hidden"
| #define PACKAGE "impact-transport"
| #define VERSION "2007.2.38"
| #define YYTEXT_POINTER 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <dlfcn.h>
configure:6201: result: no
configure:6207: WARNING: dlfcn.h: accepted by the compiler, rejected
by the preprocessor!
configure:6209: WARNING: dlfcn.h: proceeding with the compiler's result
configure:6234: checking for dlfcn.h
configure:6242: result: yes
configure:6265: checking how to run the C++ preprocessor
configure:6301: aCC +DD64 -Wl,+k -E  conftest.cpp

I assume this was brought in from using libtool:

# _LT_AC_CHECK_DLFCN
# ------------------
AC_DEFUN([_LT_AC_CHECK_DLFCN],
[AC_CHECK_HEADERS(dlfcn.h)dnl
])# _LT_AC_CHECK_DLFCN

My configure.ac includes:

AC_PROG_LIBTOOL




reply via email to

[Prev in Thread] Current Thread [Next in Thread]