Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001601c4dac5$6cd24ab0$0200000a@agamemnon> From: "Jon A. Lambert" To: Subject: Autotools wrapper problem and fix Date: Sun, 5 Dec 2004 07:24:53 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-IsSubscribed: yes I'm having trouble invoking the wrapper scripts for aclocal. Here's my session log... --------------------------------------- jlambert AT agamemnon ~/MyApp $ aclocal --force aclocal: invalid option --force Try `aclocal --help' for more information. jlambert AT agamemnon ~/MyApp $ aclocal --version aclocal (GNU automake) 1.9.2 ...rest ellided... jlambert AT agamemnon ~/MyApp $ cat configure.ac | grep AC_PREREQ AC_PREREQ(2.59) jlambert AT agamemnon ~/MyApp $ /usr/autotool/devel/bin/aclocal --version aclocal (GNU automake) 1.9.2 ...rest ellided... jlambert AT 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 http://sources.redhat.com/automake/automake.html#Extending-aclocal /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 AT 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 AT 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 AT 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: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/