Changeset 86 for trunk/libjdkmidi/trunk

Show
Ignore:
Timestamp:
08/16/06 12:58:46 (2 years ago)
Author:
jeffk@…
Message:

configure script usage info added

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/libjdkmidi/trunk/configure

    r84 r86  
    77source "${relative_dir}/project.sh" 
    88 
     9if [ "$1" = "--help" -o "${relative_dir}" = "." ]; then 
     10    echo "configure script based on J.D. Koftinoff Software's MagicMake system." 
     11    echo "See https://clicker.jdkoftinoff.com/projects/trac/jdks/wiki for more information" 
     12    echo "" 
     13    echo "example usage:" 
     14    echo "Step 1: make a directory to put build results in:" 
     15    echo "  mkdir b" 
     16    echo "" 
     17    echo "Step 2: cd into this directory:" 
     18    echo "  cd b" 
     19    echo "" 
     20    echo "Step 3: run this configure script:" 
     21    echo "" 
     22    echo "  ../configure" 
     23    echo "" 
     24    echo "Some example typical command line arguments for configure:" 
     25    echo "" 
     26    echo "Build native binaries on a generic posix machine:" 
     27    echo "  ../configure --target-platform-posix=1" 
     28    echo "" 
     29    echo "Build native binaries on a linux machine:" 
     30    echo "  ../configure --target-platform-linux=1" 
     31    echo "" 
     32    echo "Build native binaries on a mac os x machine:" 
     33    echo "  ../configure --target-platform-macosx=1" 
     34    echo "" 
     35    echo "Build universal binaries on a mac os x machine:" 
     36    echo "  ../configure --target-platform-macosx-universal=1" 
     37    echo "" 
     38    echo "Build on a mac os x machine and cross compile for windows via mingw32 cross compiler" 
     39    echo "  ../configure --host-platform-macosx-universal=1 --cross-compiling=1 --compiler-prefix=i386-mingw32- --target-platform-mingw32=1" 
     40    echo "" 
     41    echo "Build on a linux machine and cross compile for windows via mingw32 cross compiler" 
     42    echo "  ../configure --host-platform-linux=1 --cross-compiling=1 --compiler-prefix=i386-mingw32-  --target-platform-mingw32=1" 
     43    echo "" 
     44    echo "Further options for installation path of 'make install' and 'make install-dev' destinations:" 
     45    echo "  ../configure --prefix=/opt/local" 
     46    echo "without the --prefix option, the system defaults to $PWD/install - not /usr/local like gnu autoconf would" 
     47    echo "" 
     48    echo "After running the configure stage, a Makefile will be created for you to run with gnu make" 
     49    exit 1 
     50fi 
    951 
    1052# parse all long options and set them as variables, allowing command line to override everything