[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_ENABLE_STATIC(no)
From: |
Andreas Schwab |
Subject: |
AC_ENABLE_STATIC(no) |
Date: |
Mon, 14 Apr 2008 18:05:02 +0200 |
User-agent: |
Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (gnu/linux) |
libtool 2.2 does not properly emulate AC_ENABLE_STATIC. It used to
accept an argument (yes or no), which is now ignored.
Andreas.
2008-04-14 Andreas Schwab <address@hidden>
* libltdl/m4/ltoptions.m4 (AC_ENABLE_SHARED): Check optional
argument.
(AC_ENABLE_STATIC): Likewise.
(AC_ENABLE_FAST_INSTALL): Likewise.
--- libltdl/m4/ltoptions.m4.~1.14.~ 2008-04-14 17:12:11.000000000 +0200
+++ libltdl/m4/ltoptions.m4 2008-04-14 17:38:35.000000000 +0200
@@ -192,7 +192,7 @@ LT_OPTION_DEFINE([LT_INIT], [disable-sha
# Old names:
AC_DEFUN([AC_ENABLE_SHARED],
-[_LT_SET_OPTION([LT_INIT], [shared])
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
])
AC_DEFUN([AC_DISABLE_SHARED],
@@ -246,7 +246,7 @@ LT_OPTION_DEFINE([LT_INIT], [disable-sta
# Old names:
AC_DEFUN([AC_ENABLE_STATIC],
-[_LT_SET_OPTION([LT_INIT], [static])
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
])
AC_DEFUN([AC_DISABLE_STATIC],
@@ -300,7 +300,7 @@ LT_OPTION_DEFINE([LT_INIT], [disable-fas
# Old names:
AU_DEFUN([AC_ENABLE_FAST_INSTALL],
-[_LT_SET_OPTION([LT_INIT], [fast-install])
+[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
the `fast-install' option into LT_INIT's first parameter.])
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- AC_ENABLE_STATIC(no),
Andreas Schwab <=