fltk/autogen.sh
Pierre Ossman 7bffc7bd3b Add an autogen.sh script as is customary for autoconf based
projects. Also update the documentation to steer people to
use this scripts.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2013-12-13 10:19:54 +00:00

17 lines
445 B
Bash
Executable File

#! /bin/sh
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
srcdir=`cd $srcdir && pwd`
ORIGDIR=`pwd`
cd $srcdir
autoconf --force || exit 1
automake --add-missing
if test ! -e config.sub; then echo NOTE: Using frozen copy of config.sub; cp misc/config.sub . ; fi
if test ! -e config.guess; then echo NOTE: Using frozen copy of config.guess; cp misc/config.guess . ; fi
cd $ORIGDIR || exit $?
test -n "$NOCONFIGURE" || $srcdir/configure "$@"