Use newer autotools. Only build debug.c when --enable-debug.
This commit is contained in:
16
aclocal.m4
vendored
16
aclocal.m4
vendored
@@ -13,8 +13,8 @@
|
||||
|
||||
m4_ifndef([AC_AUTOCONF_VERSION],
|
||||
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
|
||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
|
||||
[m4_warning([this file was generated for autoconf 2.63.
|
||||
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
|
||||
[m4_warning([this file was generated for autoconf 2.68.
|
||||
You have another version of autoconf. It may work, but is not guaranteed to.
|
||||
If you have problems, you may need to regenerate the build system entirely.
|
||||
To do so, use the procedure documented by the package, typically `autoreconf'.])])
|
||||
@@ -28,7 +28,7 @@ To do so, use the procedure documented by the package, typically `autoreconf'.])
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 17 LTDL_INIT
|
||||
# serial 18 LTDL_INIT
|
||||
|
||||
# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE])
|
||||
# ------------------------------------------
|
||||
@@ -428,10 +428,16 @@ AC_CHECK_HEADERS([unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h],
|
||||
AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])])
|
||||
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])])
|
||||
|
||||
m4_pattern_allow([LT_LIBEXT])dnl
|
||||
AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension])
|
||||
|
||||
name=
|
||||
eval "lt_libprefix=\"$libname_spec\""
|
||||
m4_pattern_allow([LT_LIBPREFIX])dnl
|
||||
AC_DEFINE_UNQUOTED([LT_LIBPREFIX],["$lt_libprefix"],[The archive prefix])
|
||||
|
||||
name=ltdl
|
||||
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
|
||||
eval "LTDLOPEN=\"$libname_spec\""
|
||||
AC_SUBST([LTDLOPEN])
|
||||
])# _LTDL_SETUP
|
||||
|
||||
@@ -488,7 +494,7 @@ AC_CACHE_CHECK([whether deplibs are loaded by dlopen],
|
||||
freebsd* | dragonfly*)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
gnu* | linux* | k*bsd*-gnu)
|
||||
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
|
||||
# GNU and its variants, using gnu ld.so (Glibc)
|
||||
lt_cv_sys_dlopen_deplibs=yes
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user