[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf-bug
Subject: Re: helo error when running code
From: Eric Blake <ebb9 () byu ! net>
Date: 2007-11-02 12:30:51
Message-ID: 472B187B.8090502 () byu ! net
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to amit pansuria on 11/2/2007 12:57 AM:
> helo i got the macro error
Please quit starting a new thread every time you send a message. And when
sending a file, please attach it. By inlining your acinclude.m4, your
lines wrapped, and the line numbers no longer corresponded to your error
messages, making it harder to debug.
> acinclude.m4:36: warning: underquoted definition of AC_FIND_FILE
The actual bug is located within the K_PATH_X macro. Please report it
along with all these warnings of underquoted definitions, to the KDE
libraries/packages maintainers - the maintainers should fix their macros
to use proper quoting. You have not uncovered any autoconf bugs.
> acinclude.m4:403: warning: underquoted definition of K_PATH_X
> dnl ------------------------------------------------------------------------
> dnl Find the header files and libraries for X-Windows. Extended the
> dnl macro AC_PATH_X
> dnl ------------------------------------------------------------------------
> dnl
> AC_DEFUN(K_PATH_X,
^^^^^^^^
Underquoted.
> [
> AC_REQUIRE([AC_PROG_CPP])
> AC_MSG_CHECKING(for X)
> AC_LANG_SAVE
> AC_LANG_C
> AC_CACHE_VAL(ac_cv_have_x,
...
> ])dnl
> eval "$ac_cv_have_x"
>
> if test "$have_x" != yes; then
> AC_MSG_RESULT($have_x)
> no_x=yes
> else
> AC_MSG_RESULT([libraries $ac_x_libraries, headers $kde_x_includes])
> fi
...
> AC_MSG_CHECKING(for libXext)
> AC_CACHE_VAL(kde_cv_have_libXext,
> [
...
> ])
>
> AC_MSG_RESULT($kde_cv_have_libXext)
>
> if test "kde_cv_have_libXext" = "no"; then
> AC_MSG_ERROR([We need a working libXext to proceed. Since configure
> can't find it itself, we stop here assuming that make wouldn't find
> them either.])
> fi
>
> ])
This line closes the AC_DEFUN of K_PATH_X...
>
> AC_LANG_RESTORE
Meaning that this line is executed in isolation at the top level, without
a matching AC_LANG_SAVE. Too many close quotes somewhere in the macro
definition.
- --
Don't work too hard, make some time for fun as well!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHKxh784KuGfSFAYARAvc2AJ9wujy8Vts8VRGRZdCNAMQfALVxdQCdEo10
cPcGgLA4x5vO5V60M9+Ozqg=
=39kw
-----END PGP SIGNATURE-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic