autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: Re: Empty --prefix


From: Akim Demaille
Subject: FYI: Re: Empty --prefix
Date: 05 Jun 2001 14:45:09 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (GTK)

>>>>> "kettenis" == kettenis  <address@hidden> writes:

kettenis> Would it be possible to allow an empty prefix again in the
kettenis> next autoconf release?

Sure!

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix'
        can be empty.
        `*dir' variables cannot be NONE.
        Reported by Mark Kettenis.

Index: NEWS
===================================================================
RCS file: /cvs/autoconf/NEWS,v
retrieving revision 1.148
diff -u -u -r1.148 NEWS
--- NEWS 2001/06/02 15:45:32 1.148
+++ NEWS 2001/06/05 12:42:01
@@ -5,6 +5,7 @@
 ** Bug fixes
 - Mostly in the test suite.
 - Invocation of GNU M4 now robust to POSIXLY_CORRECT.
+- configure accepts --prefix='' again.
 
 * Major changes in Autoconf 2.50
 
Index: THANKS
===================================================================
RCS file: /cvs/autoconf/THANKS,v
retrieving revision 1.61
diff -u -u -r1.61 THANKS
--- THANKS 2001/05/31 07:02:13 1.61
+++ THANKS 2001/06/05 12:42:02
@@ -91,6 +91,7 @@
 Marcus Daniels              address@hidden
 Marcus Thiessel             address@hidden
 Mark Elbrecht               address@hidden
+Mark Kettenis               address@hidden
 Markku Savela               address@hidden
 Markus Oberhumer            address@hidden
 Martin Buchholz             address@hidden
Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.727
diff -u -u -r1.727 acgeneral.m4
--- acgeneral.m4 2001/06/04 16:07:23 1.727
+++ acgeneral.m4 2001/06/05 12:42:02
@@ -1005,14 +1005,22 @@
 fi
 
 # Be sure to have absolute paths.
+for ac_var in exec_prefix prefix
+do
+  eval ac_val=$`echo $ac_var`
+  case $ac_val in
+    [[\\/$]]* | ?:[[\\/]]* | NONE | '' ) ;;
+    *)  AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
+  esac
+done
+
+# Be sure to have absolute paths.
 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
-              localstatedir libdir includedir oldincludedir infodir mandir \
-              exec_prefix prefix
+              localstatedir libdir includedir oldincludedir infodir mandir
 do
   eval ac_val=$`echo $ac_var`
   case $ac_val in
     [[\\/$]]* | ?:[[\\/]]* ) ;;
-    NONE ) ;;
     *)  AC_MSG_ERROR([expected an absolute path for --$ac_var: $ac_val]);;
   esac
 done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]