: # we disable shm because using shm prevents WindowMaker from running from twombly # this used to be called windowmaker on ada # then renamed to WindowMaker # now, on twombly, this is called x11_windowmaker following mfcf conventions PATH=`/bin/showpath u=s standard perl5 autoconf current` OPTS= what=`pwd|sed -e 's@^.*/@@'` major=`echo $what|cut -d- -f2|cut -d. -f1` minor=`echo $what|cut -d- -f2|cut -d. -f2` case "$what" in WindowMaker-*) #what=WindowMaker what=x11_windowmaker test $major -gt 0 -o $minor -gt 50 && OPTS="$OPTS --enable-kanji --with-nlsdir=/software/$what/data/locale --enable-openlook --enable-modelock" ;; libPropList-*) #what=x11_windowmaker_dev what=x11_windowmaker ;; *) echo "Hmm. You are running the wrong configure, aren't you?" >&2 exit 1 esac prefix=/.software/share/$what eprefix=/.software/arch/$what lprefix=/.software/local/$what export CFLAGS="-O2" export GNUSTEP_LOCAL_ROOT=/software/GNUstep case "`uname -m`" in i?86) CFLAGS="$CFLAGS -m486" ;; esac ./configure \ --prefix=$prefix \ --exec-prefix=$eprefix \ --datadir=$prefix/data \ --sbindir=$eprefix/servers \ --libexec=$eprefix/lib \ --sysconfdir=$lprefix/config \ --localstatedir=$lprefix/spool \ --enable-kanji \ --disable-shm \ --with-gfx-libs="-L/software/jpeglib/lib -L/software/tifflib/lib" \ --with-gfx-incs="-L/software/jpeglib/include -L/software/tifflib/include" \ --with-appspath=$GNUSTEP_LOCAL_ROOT/Apps \ $OPTS #--with-appspath=/usr/GNUstep