Changeset 33499 for trunk/base/configure


Ignore:
Timestamp:
Jan 28, 2008, 8:15:07 AM (13 years ago)
Author:
afb@…
Message:

add placeholder configuration for applications/frameworks installation directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/configure

    r33108 r33499  
    729729DSTGRP
    730730DSTMODE
     731MPAPPLICATIONSDIR
     732MPFRAMEWORKSDIR
    731733CPP
    732734READLINK_IS_NOT_P1003_1A
     
    13971399  --with-directory-mode=MODE
    13981400                          Specify directory mode of installed directories
     1401  --with-applications-dir Applications installation directory.
     1402  --with-frameworks-dir   Frameworks installation directory.
    13991403  --with-x11-prefix=PREFIX
    14001404                          use PREFIX as the X11 base dir (default autodetect)
     
    67416745        { echo "$as_me:$LINENO: result: $DSTMODE" >&5
    67426746echo "${ECHO_T}$DSTMODE" >&6; }
     6747
     6748
     6749
     6750# Check for default directories
     6751
     6752
     6753
     6754
     6755# Check whether --with-applications-dir was given.
     6756if test "${with_applications_dir+set}" = set; then
     6757  withval=$with_applications_dir; MPAPPLICATIONSDIR=${withval}
     6758fi
     6759
     6760
     6761    { echo "$as_me:$LINENO: checking for Applications installation directory" >&5
     6762echo $ECHO_N "checking for Applications installation directory... $ECHO_C" >&6; }
     6763
     6764        if test "x$MPAPPLICATIONSDIR" = "x" ; then
     6765            if test "$DSTUSR" = "root" ; then
     6766                MPAPPLICATIONSDIR="/Applications/MacPorts"
     6767            else
     6768                MPAPPLICATIONSDIR="~$DSTUSR/Applications/MacPorts"
     6769            fi
     6770        fi
     6771
     6772        { echo "$as_me:$LINENO: result: $MPAPPLICATIONSDIR" >&5
     6773echo "${ECHO_T}$MPAPPLICATIONSDIR" >&6; }
     6774
     6775
     6776
     6777
     6778
     6779
     6780# Check whether --with-frameworks-dir was given.
     6781if test "${with_frameworks_dir+set}" = set; then
     6782  withval=$with_frameworks_dir; MPFRAMEWORKSDIR=${withval}
     6783fi
     6784
     6785
     6786    { echo "$as_me:$LINENO: checking for Frameworks installation directory" >&5
     6787echo $ECHO_N "checking for Frameworks installation directory... $ECHO_C" >&6; }
     6788
     6789        if test "x$MPFRAMEWORKSDIR" = "x" ; then
     6790            if test "$DSTUSR" = "root" ; then
     6791                MPFRAMEWORKSDIR="/Library/Frameworks"
     6792            else
     6793                MPFRAMEWORKSDIR="~$DSTUSR/Library/Frameworks"
     6794            fi
     6795        fi
     6796
     6797        { echo "$as_me:$LINENO: result: $MPFRAMEWORKSDIR" >&5
     6798echo "${ECHO_T}$MPFRAMEWORKSDIR" >&6; }
    67436799
    67446800
     
    1296513021DSTGRP!$DSTGRP$ac_delim
    1296613022DSTMODE!$DSTMODE$ac_delim
     13023MPAPPLICATIONSDIR!$MPAPPLICATIONSDIR$ac_delim
     13024MPFRAMEWORKSDIR!$MPFRAMEWORKSDIR$ac_delim
    1296713025CPP!$CPP$ac_delim
    1296813026READLINK_IS_NOT_P1003_1A!$READLINK_IS_NOT_P1003_1A$ac_delim
     
    1301213070_ACEOF
    1301313071
    13014   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
     13072  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
    1301513073    break
    1301613074  elif $ac_last_try; then
Note: See TracChangeset for help on using the changeset viewer.