Changeset 41388


Ignore:
Timestamp:
Nov 1, 2008, 10:20:52 AM (12 years ago)
Author:
afb@…
Message:

make sure to expand default prefix (from NONE)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/aclocal.m4

    r40803 r41388  
    365365    AC_ARG_WITH(applications-dir,[AC_HELP_STRING([--with-applications-dir], [Applications installation directory.])], MPAPPLICATIONSDIR=${withval})
    366366
     367    oldprefix=$prefix
     368    if test "x$prefix" = "xNONE" ; then
     369        prefix=$ac_default_prefix
     370    fi
    367371    AC_MSG_CHECKING([for Applications installation directory])
    368372
     
    377381        AC_MSG_RESULT([$MPAPPLICATIONSDIR])
    378382    AC_SUBST(MPAPPLICATIONSDIR)
     383    prefix=$oldprefix
    379384])
    380385
     
    386391    AC_ARG_WITH(frameworks-dir,[AC_HELP_STRING([--with-frameworks-dir], [Frameworks installation directory.])], MPFRAMEWORKSDIR=${withval})
    387392
     393    oldprefix=$prefix
     394    if test "x$prefix" = "xNONE" ; then
     395        prefix=$ac_default_prefix
     396    fi
    388397    AC_MSG_CHECKING([for Frameworks installation directory])
    389398
     
    394403        AC_MSG_RESULT([$MPFRAMEWORKSDIR])
    395404    AC_SUBST(MPFRAMEWORKSDIR)
     405    prefix=$oldprefix
    396406])
    397407
Note: See TracChangeset for help on using the changeset viewer.