summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-12-24 14:54:34 +0000
committerjbj <devnull@localhost>1999-12-24 14:54:34 +0000
commitb325535ff19dbc77a43e42808ffeb31c794e76bd (patch)
treef75b859eb0a5c8cf94b56148878231b94deba3cd /aclocal.m4
parent7007cb8ae4cdf69bdd9de43d29eb4dd73fd3c311 (diff)
downloadlibrpm-tizen-b325535ff19dbc77a43e42808ffeb31c794e76bd.tar.gz
librpm-tizen-b325535ff19dbc77a43e42808ffeb31c794e76bd.tar.bz2
librpm-tizen-b325535ff19dbc77a43e42808ffeb31c794e76bd.zip
split python bindings into a separate sub-package of rpm.
CVS patchset: 3497 CVS date: 1999/12/24 14:54:34
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m413
1 files changed, 8 insertions, 5 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index df8d205f2..56e7a82fe 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -249,7 +249,7 @@ LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
+$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
|| AC_MSG_ERROR([libtool configure failed])
# Reload cache, that may have been modified by ltconfig
@@ -281,6 +281,11 @@ AC_REQUIRE([AC_PROG_NM])dnl
AC_REQUIRE([AC_PROG_LN_S])dnl
dnl
+case "$target" in
+NONE) lt_target="$host" ;;
+*) lt_target="$target" ;;
+esac
+
# Check for any special flags to pass to ltconfig.
#
# the following will cause an existing older ltconfig to fail, so
@@ -304,7 +309,7 @@ test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
-case "$host" in
+case "$lt_target" in
*-*-irix6*)
# Find out which ABI we are using.
echo '[#]line __oline__ "configure"' > conftest.$ac_ext
@@ -520,7 +525,6 @@ else
AC_MSG_RESULT(no)
fi
test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
-AC_SUBST(LD)
AC_PROG_LD_GNU
])
@@ -566,14 +570,13 @@ else
fi])
NM="$ac_cv_path_NM"
AC_MSG_RESULT([$NM])
-AC_SUBST(NM)
])
# AC_CHECK_LIBM - check for math library
AC_DEFUN(AC_CHECK_LIBM,
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM=
-case "$host" in
+case "$lt_target" in
*-*-beos* | *-*-cygwin*)
# These system don't have libm
;;