bug-autoconf
[Top][All Lists]
Advanced

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

Re: helo error when running code


From: Eric Blake
Subject: Re: helo error when running code
Date: Fri, 02 Nov 2007 06:30:51 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----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             address@hidden
-----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-----




reply via email to

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