It is accomplished ...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# configure
|
||||
#
|
||||
# No parameters for now.
|
||||
|
||||
platform=`uname`
|
||||
|
||||
# BeOS
|
||||
if [ "${platform}" == "BeOS" ] ; then
|
||||
# GGC_PATH
|
||||
if [ "x${GCC_PATH}" == "x" ] ; then
|
||||
gcclib=`gcc -print-libgcc-file-name`
|
||||
GCC_PATH=`dirname ${gcclib}`
|
||||
fi
|
||||
|
||||
# Linux
|
||||
else if [ "${platform}" == "Linux" ] ; then
|
||||
# GGC_PATH
|
||||
if [ "x${GCC_PATH}" == "x" ] ; then
|
||||
gcclib=`gcc -print-libgcc-file-name`
|
||||
GCC_PATH=`dirname ${gcclib}`
|
||||
fi
|
||||
|
||||
# Unknown platform
|
||||
else
|
||||
echo Unsupported platform: ${platform}
|
||||
exit 1
|
||||
fi; fi
|
||||
|
||||
# Generate BuildConfig
|
||||
cat << EOF > BuildConfig
|
||||
# BuildConfig
|
||||
# Note: This file has been automatically generated by configure.
|
||||
|
||||
GCC_PATH = ${GCC_PATH} ;
|
||||
EOF
|
||||
Reference in New Issue
Block a user