Author: borisk
Date: Tue Oct 27 12:57:42 2009
New Revision: 830157
URL: http://svn.apache.org/viewvc?rev=830157&view=rev
Log:
Check if glibtoolize exist. Otherwise call libtoolize.
Modified:
xerces/c/trunk/reconf
Modified: xerces/c/trunk/reconf
URL:
http://svn.apache.org/viewvc/xerces/c/trunk/reconf?rev=830157&r1=830156&r2=830157&view=diff
==============================================================================
--- xerces/c/trunk/reconf (original)
+++ xerces/c/trunk/reconf Tue Oct 27 12:57:42 2009
@@ -1,7 +1,15 @@
#!/bin/sh
set -x
rm -f config.cache
-glibtoolize --copy --force
+
+type -p glibtoolize 1>/dev/null 2>&1
+
+if test "$?" = "0"; then
+ glibtoolize --copy --force
+else
+ libtoolize --copy --force
+fi
+
aclocal -I m4
autoheader
automake -a -c -f
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]