This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Autotools wrapper problem and fix

I'm having trouble invoking the wrapper scripts for aclocal.

Here's my session log...

jlambert@agamemnon ~/MyApp
$ aclocal --force
aclocal: invalid option --force
Try `aclocal --help' for more information.

jlambert@agamemnon ~/MyApp
$ aclocal --version
aclocal (GNU automake) 1.9.2 ellided...

jlambert@agamemnon ~/MyApp
$ cat | grep AC_PREREQ

jlambert@agamemnon ~/MyApp
$ /usr/autotool/devel/bin/aclocal --version
aclocal (GNU automake) 1.9.2 ellided...

jlambert@agamemnon ~/MyApp
$ /usr/autotool/devel/bin/aclocal --force
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
run info '(automake)Extending aclocal'
or see
/usr/share/aclocal/libsmi.m4:8: warning: underquoted definition of AM_PATH_LIBSMI
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT
/usr/share/aclocal/freetype2.m4:7: warning: underquoted definition of AC_CHECK_FT2
/usr/share/aclocal/cppunit.m4:4: warning: underquoted definition of AM_PATH_CPPUNIT

jlambert@agamemnon ~/MyApp
$ env | grep ^PATH=
PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/lib/subversion/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/Perl/bin/:/c/bin:/c/apps/apache-ant-1.6.0/bin:/c/apps/ruby/bin:/c/Program Files/Borland/BDS/1.0/Bin:/c/WINDOWS/SYSTEM32:/c/WINDOWS:/c/WINDOWS/SYSTEM32/WBEM:/c/apps/BCC55/Bin:/c/PROGRAM FILES/BORLAND/CBUILDER3/BIN:/c/j2sdk1.4.1/bin:/c/Program Files/doxygen/bin:/c/apps/Python23:/c/Program Files/Subversion/bin:/c/PROGRA~1/ATT/Graphviz/bin/tools

jlambert@agamemnon ~/MyApp
$ cygcheck -c | grep auto
autoconf                2.59-1               OK
autoconf-devel          2.59-1               OK
autoconf-stable         2.13-5               OK
automake                1.7.9-1              OK
automake-devel          1.9.2-1              OK
automake-stable         1.4p6-2              OK


Is this because the automake wrapper version is at 1.7.9 and devel is at 1.9.2?

Anyway here's the patch I applied to fix it.

jlambert@agamemnon /usr/bin
$ diff -ur aclocal-orig aclocal
--- aclocal-orig        2003-12-02 02:47:03.001000000 -0500
+++ aclocal     2004-12-05 07:17:27.042500800 -0500
@@ -34,6 +34,11 @@
       shift ;;

+ --force | -f ) + opt_force="--force" + shift ;; + + --help | -h ) opt_help="--help" shift ;; --------------

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]