--- configure.in.org 2007-01-05 23:07:18.000000000 +0200 +++ configure.in 2007-01-05 23:37:36.000000000 +0200 @@ -409,7 +409,8 @@ if test "$target" != "$host"; then AC_MSG_CHECKING([whether the $host compiler ($HOST_CC $HOST_CFLAGS $HOST_LDFLAGS) works]) AC_TRY_COMPILE([], [return(0);], - [ac_cv_prog_host_cc_works=1 AC_MSG_RESULT([yes])], + [ac_cv_prog_host_cc_works=1 + AC_MSG_RESULT([yes])], AC_MSG_ERROR([installation or configuration problem: $host compiler $HOST_CC cannot create executables.]) ) CC=$_SAVE_CC @@ -2155,9 +2156,8 @@ case $target in *-darwin*) ;; *) - AC_CHECK_LIB(dl, dlopen, - AC_CHECK_HEADER(dlfcn.h, - OS_LIBS="-ldl $OS_LIBS")) + AC_CHECK_HEADER(dlfcn.h) + AC_CHECK_LIB(dl, dlopen, [OS_LIBS="-ldl $OS_LIBS"]) ;; esac @@ -2766,6 +2766,7 @@ config/autoconf.mk config/nsprincl.mk config/nsprincl.sh config/nspr-config +config/nspr.pc lib/Makefile lib/ds/Makefile lib/libc/Makefile