wsanchez 99/05/05 17:44:18
Modified: . configure Log: Make platform-dependant choice as to default layout for Mac OS and Mac OS X Server. Revision Changes Path 1.91 +11 -2 apache-1.3/configure Index: configure =================================================================== RCS file: /home/cvs/apache-1.3/configure,v retrieving revision 1.90 retrieving revision 1.91 diff -u -r1.90 -r1.91 --- configure 1999/05/04 02:55:15 1.90 +++ configure 1999/05/06 00:44:16 1.91 @@ -309,6 +309,15 @@ IFS="$OIFS" ## +## Platform-specific defaults +## +case $PLATFORM in + *-apple-rhapsody*) default_layout="Mac OS X Server";; + *-apple-macos*) default_layout="Mac OS X Server";; + *) default_layout="Apache";; +esac + +## ## support for the default layout ## case "$*" in @@ -316,9 +325,9 @@ ;; * ) if [ "x$*" = "x" ]; then - set -- '--with-layout=Apache' + set -- --with-layout="$default_layout" else - set -- '--with-layout=Apache' "$@" + set -- --with-layout="$default_layout" "$@" fi ;; esac