Changeset 8e485801 for configure


Ignore:
Timestamp:
Aug 15, 2018, 11:37:10 AM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
7bd4cc9
Parents:
202ad72
Message:

configure no longer requires install directories to exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r202ad72 r8e485801  
    32353235                cfa_prefix=${prefix}
    32363236        fi
    3237         cfa_prefix="$(readlink -f ${cfa_prefix})/"
     3237        cfa_prefix="$(readlink -m ${cfa_prefix})/"
    32383238
    32393239cat >>confdefs.h <<_ACEOF
     
    32453245
    32463246        if test "$includedir" = '${prefix}/include'; then
    3247                 cfa_incdir="${cfa_prefix}/include/${cfa_name}"
     3247                cfa_incdir="${cfa_prefix}include/${cfa_name}"
    32483248        else
    32493249                cfa_incdir=${includedir}
    32503250        fi
    3251         cfa_incdir="$(readlink -f ${cfa_incdir})/"
     3251        cfa_incdir="$(readlink -m ${cfa_incdir})/"
    32523252
    32533253cat >>confdefs.h <<_ACEOF
     
    32593259
    32603260        if test "$bindir" = '${exec_prefix}/bin'; then
    3261                 cfa_bindir="${cfa_prefix}/bin"
     3261                cfa_bindir="${cfa_prefix}bin"
    32623262        else
    32633263                cfa_bindir=${bindir}
    32643264        fi
    3265         cfa_bindir="$(readlink -f ${cfa_bindir})/"
     3265        cfa_bindir="$(readlink -m ${cfa_bindir})/"
    32663266
    32673267cat >>confdefs.h <<_ACEOF
     
    32743274        if test "$libdir" = '${exec_prefix}/lib'; then
    32753275                if test "${ARCHITECTURE}" != ""; then
    3276                         cfa_libdir="${cfa_prefix}/lib/${cfa_name}/${ARCHITECTURE}-${CONFIGURATION}/"
     3276                        cfa_libdir="${cfa_prefix}lib/${cfa_name}/${ARCHITECTURE}-${CONFIGURATION}/"
    32773277                else
    3278                         cfa_libdir="${cfa_prefix}/lib/${cfa_name}/"
     3278                        cfa_libdir="${cfa_prefix}lib/${cfa_name}/"
    32793279                fi
    32803280        else
    32813281                cfa_libdir="${libdir}/${ARCHITECTURE}${CONFIGURATION}"
    32823282        fi
    3283         cfa_libdir="$(readlink -f ${cfa_libdir})/"
     3283        cfa_libdir="$(readlink -m ${cfa_libdir})/"
    32843284
    32853285cat >>confdefs.h <<_ACEOF
     
    32943294# Create variables for commonly used targets
    32953295
    3296 TOP_SRCDIR="$(readlink -f $ac_confdir/)/"
    3297 TOP_BUILDDIR="$(readlink -f $ac_pwd/)/"
     3296TOP_SRCDIR="$(readlink -m $ac_confdir/)/"
     3297TOP_BUILDDIR="$(readlink -m $ac_pwd/)/"
    32983298
    32993299
Note: See TracChangeset for help on using the changeset viewer.