[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Revert glibtoolize patch for Darwin
From: |
Andreas Tobler |
Subject: |
[cp-patches] Revert glibtoolize patch for Darwin |
Date: |
Fri, 02 Sep 2005 23:36:24 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.5 (Macintosh/20050711) |
Hello,
my first contribution as cp member :)
I'd like to revert a patch I introduced in spring this year.
Ok for head ?
Andreas
2005-09-02 Andreas Tobler <address@hidden>
* autogen.sh: Revert glibtoolize patch from:
2005-05-01 Andreas Tobler <address@hidden>
With the upcoming qt-peers we need to link against Frameworks on
Darwin. The installed libtool on Darwin does not support the machinery.
Index: autogen.sh
===================================================================
RCS file: /cvsroot/classpath/classpath/autogen.sh,v
retrieving revision 1.12
diff -u -r1.12 autogen.sh
--- autogen.sh 1 May 2005 21:16:31 -0000 1.12
+++ autogen.sh 2 Sep 2005 21:28:28 -0000
@@ -12,16 +12,9 @@
DIE=0
-case `uname -s` in
-Darwin)
- LIBTOOLIZE=glibtoolize
- ;;
-*)
- LIBTOOLIZE=libtoolize
- ;;
-esac
+LIBTOOLIZE=libtoolize
-have_libtool=true
+have_libtool=false
if ${LIBTOOLIZE} --version < /dev/null > /dev/null 2>&1 ; then
libtool_version=`${LIBTOOLIZE} --version | sed
's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
case $libtool_version in
@@ -35,6 +28,9 @@
echo "You must have libtool 1.5 installed to compile $PROJECT."
echo "Install the appropriate package for your distribution,"
echo "or get the source tarball at http://ftp.gnu.org/gnu/libtool/"
+ echo "For Darwin you need the latest stable to support Frameworks"
+ echo "linking. Also, you have to point ACLOCAL_FLAGS to this"
+ echo "libtool/share/aclocal."
DIE=1
fi
- [cp-patches] Revert glibtoolize patch for Darwin,
Andreas Tobler <=