head 1.3; access; symbols; locks acli:1.3; strict; comment @# @; 1.3 date 2001.07.07.22.50.04; author acli; state Exp; branches; next 1.2; 1.2 date 2001.06.18.03.36.03; author acli; state Exp; branches; next 1.1; 1.1 date 99.06.19.06.30.02; author acli; state Exp; branches; next ; desc @run gimp configure @ 1.3 log @Try to distinguish between gimp 1.0 and 1.2 @ text @export CPPFLAGS="-I/usr/local/include -I/usr/local/include/tiff -I/software/libjpeg/include -I/software/xdelta/include" export LDLIBS="-lz -lgdbm" export PATH=`/bin/showpath +wto standard autoconf texinfo current` # We need to distinguish between 1.0 and 1.2; 1.2 is way too slow on armv4l basedir=`pwd` basedir=`basename "$basedir"` case "$basedir" in gimp-*) package="`echo $basedir|sed -e 's/^\(gimp-[0-9]*\.[0-9]*\)\..*$/\1/'`" ;; *) echo "$basedir: weird current directory for gimp" >&2 exit 1 ;; esac prefix=/software/$package eprefix=/.software/arch/$package # Don't use perl extension OPTS=--disable-perl version=1.2 for dir in gimp_dev-$version gtk+-$version gimp_dev gtk+; do if [ -d /software/gimp_dev-$version ]; then OPTS="$OPTS --with-gtk-prefix=/software/$dir --with-gtk-exec-prefix=/software/$dir" LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/software/$dir/lib PATH=`/bin/showpath +wto $dir current` export LD_LIBRARY_PATH break fi done gtkconfig=`/bin/showpath +wto gimp_dev-$version gimp standard current findfirst=gtk-config` gtkprefix=`$gtkconfig --prefix` grep -q netwinder config.sub || patch --verbose -u -t -N -p2< --- libc/scripts/config.sub Tue Oct 27 11:38:36 1998 +++ glibc/scripts/config.sub Tue Nov 3 16:20:40 1998 @@@@ -182,7 +182,7 @@@@ | sparc64-* | mips64-* | mipsel-* \\ | mips64el-* | mips64orion-* | mips64orionel-* \\ | mipstx39-* | mipstx39el-* \\ - | f301-*) + | f301-* | armv*-*) ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. @@@@ -412,6 +412,10 @@@@ basic_machine=i486-ncr os=-sysv4 ;; + netwinder) + basic_machine=armv4l-ccc + os=-linux + ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos @@@@ -801,6 +805,9 @@@@ case \$basic_machine in *-acorn) os=-riscix1.2 + ;; + arm*-ccc) + os=-linux ;; arm*-semi) os=-aout EOF export CFLAGS="" case "`uname -m`" in i?86) CFLAGS="$CFLAGS -O2 -m486" gcc -v 2>&1|grep egcs>/dev/null || CFLAGS="$CFLAGS -no-strength-reduce" ;; arm*) CFLAGS="$CFLAGS -O -D__USE_GNU -DG_GNUC_NORETURN='__attribute__((noreturn))'";; esac ./configure --prefix=$prefix --exec-prefix=$eprefix --datadir=$prefix/data --sysconfdir=$prefix/config $OPTS @ 1.2 log @Don't use perl extension @ text @a1 1 export CFLAGS="-O2" d4 16 a19 2 prefix=/software/gimp eprefix=/.software/arch/gimp d74 1 a74 1 export CFLAGS="-O2" d76 1 a76 1 i?86) CFLAGS="$CFLAGS -m486" d79 1 a79 1 arm*) CFLAGS="-D__USE_GNU -DG_GNUC_NORETURN='__attribute__((noreturn))'";; @ 1.1 log @Initial revision @ text @d8 3 @