>>>>> "kettenis" == kettenis  <[EMAIL PROTECTED]> writes:

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

Sure!

Index: ChangeLog
from  Akim Demaille  <[EMAIL PROTECTED]>

        * 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              [EMAIL PROTECTED]
 Marcus Thiessel             [EMAIL PROTECTED]
 Mark Elbrecht               [EMAIL PROTECTED]
+Mark Kettenis               [EMAIL PROTECTED]
 Markku Savela               [EMAIL PROTECTED]
 Markus Oberhumer            [EMAIL PROTECTED]
 Martin Buchholz             [EMAIL PROTECTED]
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