Hi,

We, no but that's exactly what the /autogen.sh script
should have created.

The code is from CVS and they dont have a configure.in
what they have is a /autogen.sh script which should
create all the needed files so I can make, make
install the code.

I have added the script maybe you'll find something
wrong with it, I didnt.

and it all started after upgrading my automake.

Thanks

Erez

------------ autogen.sh script ------------
#!/bin/sh

OSTYPE=`uname -s`
MACHINE=`uname -m`
AUTO_MAKE_VERSION=`automake --version | head -1 | awk
'{print $4}' | sed -e 's/\.\([0-9]*\).*/\1/'`
if test $AUTO_MAKE_VERSION -lt 15; then
    echo ""
    echo "You need to upgrade to automake version 1.5
or greater."
    echo "Most distributions have packages available
to install or you can"
    echo "find the source for the most recent version
at"
    echo "ftp://ftp.gnu.org/gnu/automake";
    exit 1
fi

echo "Host info: $OSTYPE $MACHINE"
echo -n " automake: `automake --version | head -1 |
awk '{print $4}'`"
echo " ($AUTO_MAKE_VERSION)"
echo ""

echo "Running aclocal $ACLOCAL_OPTS"
aclocal $ACLOCAL_OPTS

echo "Running autoheader"
autoheader
if [ ! -e src/Include/config.h.in ]; then
    echo "ERROR: autoheader didn't create
simgear/simgear_config.h.in!"
    exit 1
fi    

echo "Running automake --add-missing"
automake --add-missing

echo "Running autoconf"
autoconf

if [ ! -e configure ]; then
    echo "ERROR: configure was not created!"
    exit 1
fi

echo ""
echo "======================================"

if [ -f config.cache ]; then
    echo "config.cache exists.  Removing the
config.cache file will force"
    echo "the ./configure script to rerun all it's
tests rather than using"
    echo "the previously cached values."
    echo ""
fi

echo "Now you are ready to run './configure'"
echo "======================================"


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to