[41388] trunk/base/aclocal.m4

afb at macports.org afb at macports.org
Sat Nov 1 03:20:55 PDT 2008


Revision: 41388
          http://trac.macports.org/changeset/41388
Author:   afb at macports.org
Date:     2008-11-01 03:20:52 -0700 (Sat, 01 Nov 2008)
Log Message:
-----------
make sure to expand default prefix (from NONE)

Modified Paths:
--------------
    trunk/base/aclocal.m4

Modified: trunk/base/aclocal.m4
===================================================================
--- trunk/base/aclocal.m4	2008-11-01 10:19:11 UTC (rev 41387)
+++ trunk/base/aclocal.m4	2008-11-01 10:20:52 UTC (rev 41388)
@@ -364,6 +364,10 @@
 
     AC_ARG_WITH(applications-dir,[AC_HELP_STRING([--with-applications-dir], [Applications installation directory.])], MPAPPLICATIONSDIR=${withval})
 
+    oldprefix=$prefix
+    if test "x$prefix" = "xNONE" ; then
+	prefix=$ac_default_prefix
+    fi
     AC_MSG_CHECKING([for Applications installation directory])
 
 	if test "x$MPAPPLICATIONSDIR" = "x" ; then
@@ -376,6 +380,7 @@
 
 	AC_MSG_RESULT([$MPAPPLICATIONSDIR])
     AC_SUBST(MPAPPLICATIONSDIR)
+    prefix=$oldprefix
 ])
 
 # MP_PATH_FRAMEWORKS
@@ -385,6 +390,10 @@
 
     AC_ARG_WITH(frameworks-dir,[AC_HELP_STRING([--with-frameworks-dir], [Frameworks installation directory.])], MPFRAMEWORKSDIR=${withval})
 
+    oldprefix=$prefix
+    if test "x$prefix" = "xNONE" ; then
+	prefix=$ac_default_prefix
+    fi
     AC_MSG_CHECKING([for Frameworks installation directory])
 
 	if test "x$MPFRAMEWORKSDIR" = "x" ; then
@@ -393,6 +402,7 @@
 
 	AC_MSG_RESULT([$MPFRAMEWORKSDIR])
     AC_SUBST(MPFRAMEWORKSDIR)
+    prefix=$oldprefix
 ])
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081101/3d329a61/attachment.html>


More information about the macports-changes mailing list