Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/imlib2
Dir : e17/libs/imlib2
Modified Files:
Makefile.am autogen.sh configure.in
Log Message:
sorry - mej - you seem to have broken the build on other systems and
imlib2-config wasnt being installed - also it was deciding it had to
cross-compile and build i686-gnu-linux-imlib2-config etc. files... had to
move autogen.sh to this... :(
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/Makefile.am,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- Makefile.am 2 Jul 2004 18:41:52 -0000 1.28
+++ Makefile.am 6 Jul 2004 07:03:49 -0000 1.29
@@ -5,7 +5,7 @@
ltconfig ltmain.sh missing mkinstalldirs \
stamp-h.in
-SUBDIRS = src filters doc loaders test demo libltdl
+SUBDIRS = src filters doc loaders test demo
bin_SCRIPTS = imlib2-config
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/autogen.sh,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- autogen.sh 2 Jul 2004 18:41:52 -0000 1.22
+++ autogen.sh 6 Jul 2004 07:03:50 -0000 1.23
@@ -1,59 +1,13 @@
#!/bin/sh
-# Run this to generate all the initial makefiles, etc.
-# $Id: autogen.sh,v 1.22 2004/07/02 18:41:52 mej Exp $
-broken() {
- echo
- echo "You need libtool, autoconf, and automake. Install them"
- echo "and try again. Get source at ftp://ftp.gnu.org/pub/gnu/"
- echo "ERROR: $1 not found."
- exit -1
-}
+rm -rf autom4te.cache
+rm -f aclocal.m4
-DIE=0
+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
-echo "Generating configuration files for Imlib2, please wait...."
-
-LIBTOOLIZE_CHOICES="$LIBTOOLIZE libtoolize"
-AUTOHEADER_CHOICES="$AUTOHEADER autoheader213 autoheader-2.13 autoheader"
-ACLOCAL_CHOICES="$ACLOCAL aclocal14 aclocal-1.4 aclocal"
-AUTOMAKE_CHOICES="$AUTOMAKE automake14 automake-1.4 automake"
-AUTOCONF_CHOICES="$AUTOCONF autoconf213 autoconf-2.13 autoconf"
-
-for i in $LIBTOOLIZE_CHOICES ; do
- $i --version </dev/null >/dev/null 2>&1 && LIBTOOLIZE=$i && break
-done
-[ "x$LIBTOOLIZE" = "x" ] && broken libtool
-
-for i in $AUTOHEADER_CHOICES ; do
- $i --version </dev/null >/dev/null 2>&1 && AUTOHEADER=$i && break
-done
-[ "x$AUTOHEADER" = "x" ] && broken autoconf
-
-for i in $ACLOCAL_CHOICES ; do
- $i --version </dev/null >/dev/null 2>&1 && ACLOCAL=$i && break
-done
-[ "x$ACLOCAL" = "x" ] && broken automake
-
-for i in $AUTOMAKE_CHOICES ; do
- $i --version </dev/null >/dev/null 2>&1 && AUTOMAKE=$i && break
-done
-[ "x$AUTOMAKE" = "x" ] && broken automake
-
-for i in $AUTOCONF_CHOICES ; do
- $i --version </dev/null >/dev/null 2>&1 && AUTOCONF=$i && break
-done
-[ "x$AUTOCONF" = "x" ] && broken autoconf
-
-# Export them so configure can AC_SUBST() them.
-export LIBTOOLIZE AUTOHEADER ACLOCAL AUTOMAKE AUTOCONF
-
-# Run the stuff.
-(set -x && $LIBTOOLIZE -c -f --ltdl)
-(set -x && $AUTOHEADER)
-(set -x && $ACLOCAL $ACLOCAL_FLAGS -I m4)
-(set -x && $AUTOMAKE -a -c)
-(set -x && $AUTOCONF)
-
-# Run configure.
-./configure `sh config.guess` "$@"
+### If you want this, uncomment it.
+./configure "$@"
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/imlib2/configure.in,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -3 -r1.74 -r1.75
--- configure.in 6 Jul 2004 04:40:48 -0000 1.74
+++ configure.in 6 Jul 2004 07:03:50 -0000 1.75
@@ -1,14 +1,22 @@
-dnl Process this file with autoconf to create configure.
+# get rid of that stupid cache mechanism
+rm -f config.cache
-dnl# This stuff does not work for autoconf-2.13
-dnl# AC_INIT
-dnl# AC_CONFIG_SRCDIR([src/Imlib2.h])
-AC_INIT([src/Imlib2.h])
-AC_CANONICAL_TARGET([])
+AC_INIT(configure.in)
+AC_CANONICAL_BUILD
+AC_CANONICAL_HOST
+AC_CANONICAL_TARGET
+AC_ISC_POSIX
AM_INIT_AUTOMAKE(imlib2, 1.1.1)
-
AM_CONFIG_HEADER(config.h)
+AC_C_BIGENDIAN
+AC_PROG_CC
+AM_PROG_CC_STDC
+AC_HEADER_STDC
+AC_C_CONST
+AM_ENABLE_SHARED
+AM_PROG_LIBTOOL
+
if test "x${exec_prefix}" = "xNONE"; then
if test "x${prefix}" = "xNONE"; then
bindir="${ac_default_prefix}/bin";
@@ -118,26 +126,10 @@
pkglibdir='${libdir}'/imlib2_loaders
AC_SUBST(pkglibdir)
-AC_C_BIGENDIAN
-
-AC_PROG_CC
-AM_PROG_CC_STDC
-AC_C_CONST
-
-dnl# This doesn't work right.
-dnl# AC_LIBLTDL_CONVENIENCE
-dnl# AC_LIB_LTDL
-
-AM_PROG_LIBTOOL
-AM_WITH_DMALLOC
-
-if test X"$enable_shared" = Xyes; then
- DLLDFLAGS=-export-dynamic
- AC_SUBST(DLLDFLAGS)
-fi
-
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
+#if test X"$enable_shared" = Xyes; then
+# DLLDFLAGS=-export-dynamic
+# AC_SUBST(DLLDFLAGS)
+#fi
dnl AM_PROG_AS
ASFLAGS="$ASFLAGS -I../"
@@ -426,8 +418,16 @@
dnl# ]],[[]])
dnl# AC_OUTPUT
-AC_OUTPUT([imlib2-config imlib2.pc Makefile loaders/Makefile src/Makefile
test/Makefile \
- filters/Makefile demo/Makefile doc/Makefile libltdl/Makefile \
- ],[
- chmod +x imlib2-config
- ])
+AC_OUTPUT([
+Makefile
+loaders/Makefile
+src/Makefile
+test/Makefile
+filters/Makefile
+demo/Makefile
+doc/Makefile
+imlib2-config
+imlib2.pc
+],[
+chmod +x imlib2-config
+])
-------------------------------------------------------
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