bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can't get example to work as defined...


From: Marty Leisner
Subject: can't get example to work as defined...
Date: Mon, 21 May 2001 13:38:49 -0400

I'm learning autoconfig (its about time).

I just got 2.50 (I had this problem with 2.49e).

In the section "Autoconf Invocation" (section 3.4)
I tried:
:1 address@hidden; cat configure.ac
AC_DEFUN([INNER],
        [AC_TRY_RUN([true])])

AC_DEFUN([OUTER],
        [INNER])

AC_INIT
OUTER

:1 address@hidden; autoconf --version
autoconf (GNU Autoconf) 2.50
Written by David J. MacKenzie.

Copyright 1992, 1993, 1994, 1996, 1999, 2000, 2001
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
:1 address@hidden; autoconf -Wcross
configure.ac:8: warning: AC_RUN_IFELSE called without default to allow cross com
piling
:1 address@hidden; autoconf -Wcross,error
configure.ac:8: error: AC_RUN_IFELSE called without default to allow cross compi
ling
acgeneral.m4:2936: AC_RUN_IFELSE is expanded from...
acgeneral.m4:2944: AC_TRY_RUN is expanded from...
configure.ac:2: INNER is expanded from...
configure.ac:5: OUTER is expanded from...
configure.ac:8: the top level


The manual says:
          OUTER

     you get:

          $ autoconf -Wcross
          configure.ac:8: warning: AC_TRY_RUN called without default \
          to allow cross compiling
          $ autoconf -Wcross,error
          configure.ac:8: error: AC_TRY_RUN called without default \
          to allow cross compiling
          acgeneral.m4:3044: AC_TRY_RUN is expanded from...
          configure.ac:2: INNER is expanded from...
          configure.ac:5: OUTER is expanded from...
          configure.ac:8: the top level



marty           address@hidden   
Don't  confuse education with schooling.
        Milton Friedman to Yogi Berra



reply via email to

[Prev in Thread] Current Thread [Next in Thread]