(OBJC_SYS_DYNAMIC_LINKER): Expand macro correctly in dld/defs.h check.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@723 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mccallum 1996-01-15 22:24:43 +00:00
parent 4d1bd84ee8
commit 5159269b05

2
aclocal.m4 vendored
View file

@ -79,7 +79,7 @@ AC_CHECK_LIB(dl, dlopen, [DYNAMIC_LINKER=simple LIBS="${LIBS} -ldl"])
if test $DYNAMIC_LINKER = null; then if test $DYNAMIC_LINKER = null; then
AC_CHECK_LIB(dld, main, [DYNAMIC_LINKER=dld LIBS="${LIBS} -ldld"]) AC_CHECK_LIB(dld, main, [DYNAMIC_LINKER=dld LIBS="${LIBS} -ldld"])
AC_CHECK_HEADER(dld/defs.h, [objc_found_dld_defs=yes, objc_found_dld_defs=no]) AC_CHECK_HEADER(dld/defs.h, objc_found_dld_defs=yes, objc_found_dld_defs=no)
# Try to distinguish between GNU dld and HPUX dld # Try to distinguish between GNU dld and HPUX dld
AC_CHECK_HEADER(dl.h, [DYNAMIC_LINKER=hpux]) AC_CHECK_HEADER(dl.h, [DYNAMIC_LINKER=hpux])
if test $ac_cv_lib_dld = yes && test $objc_found_dld_defs = no && test $ac_cv_header_dl_h = no; then if test $ac_cv_lib_dld = yes && test $objc_found_dld_defs = no && test $ac_cv_header_dl_h = no; then