Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2
Modified Files:
autogen.sh
Log Message:
autofool cleanups... argh! i hate autofools!
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/autogen.sh,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- autogen.sh 28 Apr 2004 04:24:03 -0000 1.20
+++ autogen.sh 24 Jun 2004 06:11:36 -0000 1.21
@@ -1,59 +1,13 @@
-#! /bin/sh
+#!/bin/sh
-if [ "$USER" = "root" ]; then
- echo "You cannot do this as "$USER" please use a normal user account"
- exit
-fi
+rm -rf autom4te.cache
+rm -f aclocal.m4
-abort () {
- echo "$1 not found or command failed. Aborting!"
- exit 1
-}
-
-echo
-echo
-echo "NOTE:"
-echo "you will need libtool 1.3 or higher for this to work"
-echo
-echo
-
-srcdir=`dirname $0`
-test -z "$srcdir" && srcdir=.
-
-THEDIR="`pwd`"
-cd "$srcdir"
-DIE=0
-
-#SUBDIRS=". libltdl"
-SUBDIRS=.
-
-set -x
-
-for EACHDIR in $SUBDIRS ; do
- cd $THEDIR/$EACHDIR
- aclocal || abort "aclocal"
- libtoolize --force --copy || abort "libtoolize"
- autoheader || abort "autoheader"
- automake --foreign --add-missing || abort "automake"
- autoconf || abort "autoconf"
-done
-
-set +x
-
-if test -z "$*"; then
- echo "I am going to run ./configure with no arguments - if you wish "
- echo "to pass any to it, please specify them on the $0 command line."
-fi
-
-cd "$THEDIR"
-
-$srcdir/configure "$@" || abort "configure"
-
-
-echo "Now type:"
-echo
-echo "make"
-echo "make install"
-echo
-echo "have fun."
+echo "Running aclocal..."; aclocal $ACLOCAL_FLAGS -I m4 \
+&& echo "Running autoheader..."; autoheader \
+&& echo "Running autoconf..."; autoconf \
+&& echo "Running libtoolize..."; libtoolize --automake \
+&& echo "Running automake..."; automake --add-missing --copy --gnu
+### If you want this, uncomment it.
+./configure "$@"
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs