1 |
#!/bin/sh |
2 |
# Run this to generate all the initial makefiles, etc. |
3 |
|
4 |
# |
5 |
# Note that we actually don't need a config.guess |
6 |
# We could instead do something like: |
7 |
# ./configure --build=powerpc-apple-darwin6.1 |
8 |
# |
9 |
if [ -e /usr/libexec/config.guess ] |
10 |
then |
11 |
# |
12 |
# MacOS X 10.1 |
13 |
# |
14 |
ln -s /usr/libexec/config.guess . |
15 |
ln -s /usr/libexec/config.sub . |
16 |
else |
17 |
# |
18 |
# MacOS X 10.2 (and later?) |
19 |
# |
20 |
ln -s /usr/share/libtool/config.guess . |
21 |
ln -s /usr/share/libtool/config.sub . |
22 |
fi |
23 |
|
24 |
ln -s ../Unix/user_strings_unix.h . |
25 |
ln -s ../Unix/acconfig.h . |
26 |
ln -s ../Unix/install-sh . |
27 |
ln -s ../../README README.txt |
28 |
|
29 |
autoconf |
30 |
|
31 |
if test -z "$*"; then |
32 |
echo "I am going to run ./configure with no arguments - if you wish to pass" |
33 |
echo " any to it, please specify them on the $0 command line." |
34 |
fi |
35 |
|
36 |
./configure "$@" |