2 # GNU configure-like front end to metaconfig's Configure.
4 # Written by Andy Dougherty (doughera@lafcol.lafayette.edu)
5 # and matthew green (mrg@mame.mu.oz.au)
14 echo This is GNU configure-like front end for a MetaConfig Configure.
15 echo It understands the follow GNU configure options:
16 echo " --prefix=PREFIX"
19 echo And these environment variables:
27 arg=`echo $f | sed 's/--prefix=/-Dprefix=/'`
31 opt=`echo $f | sed 's/=.*//'`
32 echo This GNU configure front end does not understand $opt
44 *) opts="$opts -Dcc='$CC'" ;;
47 # join DEFS and CFLAGS together.
54 if test "x$CFLAGS" != x
56 ccflags="$ccflags $CFLAGS"
59 if test "x$ccflags" != x
61 opts="$opts -Dccflags='$ccflags'"
64 echo ./Configure "$opts" -des
65 ./Configure "$opts" -des