ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/MacOSX/1_prepare_files.sh
Revision: 1.2
Committed: 2002-10-06T23:23:10Z (21 years, 9 months ago) by nigel
Content type: application/x-sh
Branch: MAIN
Changes since 1.1: +31 -3 lines
Log Message:
MacOS 10.2 compatibility (diffeent config.sub & config.guess location),
argument processing (like Unix autogen.sh)

File Contents

# Content
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 "$@"