CVS: is ChangeLog,1.10,1.11 autogen.sh,1.5,1.6
Andres Salomon <[email protected]> Thu, 05 Dec 2002 22:38:13 -0800
| Newsgroups | gmane.comp.file-systems.intermezzo.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/intermezzo/is In directory sc8-pr-cvs1:/tmp/cvs-serv20207 Modified Files: ChangeLog autogen.sh Log Message: replace autogen.sh w/ generic script, use --force-missing so that scripts like mkinstalldirs and missing are copied into fs24 (default automake behavior is to not create these, since they're in the parent directory) Index: ChangeLog =================================================================== RCS file: /cvsroot/intermezzo/is/ChangeLog,v retrieving revision 1.10 retrieving revision 1.11 diff -U2 -r1.10 -r1.11 --- ChangeLog 5 Dec 2002 05:39:45 -0000 1.10 +++ ChangeLog 6 Dec 2002 06:38:10 -0000 1.11 @@ -1,2 +1,12 @@ +2002-12-06 Andres Salomon <[email protected]> + + * autogen.sh: replace with a generic script (stolen from one + of my other projects). Ditto for fs24 and fs25 directories. + Do not automatically run fs2*/autogen.sh from top level + autogen.sh. Automake-1.4 is no longer supported, as + --force-missing is now used (so that kernel module source + directories can be separated from top level intersync source + without dependency problems). + 2002-12-05 Andres Salomon <[email protected]> Index: autogen.sh =================================================================== RCS file: /cvsroot/intermezzo/is/autogen.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -U2 -r1.5 -r1.6 --- autogen.sh 5 Dec 2002 05:39:45 -0000 1.5 +++ autogen.sh 6 Dec 2002 06:38:10 -0000 1.6 @@ -1,7 +1,78 @@ #!/bin/sh +# Run this to generate the configure script. -automake --add-missing && -aclocal && -autoconf && -( cd fs24 && sh autogen.sh ) && -( cd fs25 && sh autogen.sh ) +(autoconf --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "Error: You must have 'autoconf' installed on your system in order" + echo " to generate a configure script." + echo + exit 1 +} + +#(autoheader --version) < /dev/null > /dev/null 2>&1 || { +# echo +# echo "Error: You must have 'autoheader' installed on your system in" +# echo " order to generate a configure script." +# echo " (Note that 'autoheader' is part of the 'autoconf' package)" +# echo +# exit 1 +#} + +#(libtool --version) < /dev/null > /dev/null 2>&1 || { +# echo +# echo "Error: You must have 'libtool' installed on your system in order" +# echo " to generate a configure script." +# echo +# exit 1 +#} + +(automake --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "Error: You must have 'automake' installed on your system in order" + echo " to generate a configure script." + echo + exit 1 +} + +#(gettextize --version) < /dev/null > /dev/null 2>&1 || { +# echo +# echo "Error: you must have 'gettext' installed on your system in order" +# echo " to generate a configure script." +# echo +# exit 1 +#} + +(aclocal --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "Error: You must have 'aclocal' installed on your system in order" + echo " to generate a configure script." + echo " (Note that 'aclocal' is part of the 'automake' package)" + echo + exit 1 +} + + +srcdir=`dirname $0` + +#echo "Running gettextize..." +#gettextize --force --copy --intl --no-changelog + +#echo "Running libtoolize..." +#libtoolize --copy --force --automake + +echo "Running aclocal..." +aclocal + +#echo "Running autoheader..." +#autoheader + +echo "Running automake..." +automake --add-missing --copy --force-missing + +echo "Running autoconf..." +autoconf + +echo +echo "Done!" +echo "Now run $srcdir/configure in order to create Makefiles." +echo ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf