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