Re: error: NEED_LIBOPTS does not appear in AM_CONDITIONAL

2018-07-11 Thread Bruce Korb
On Wed, Jul 11, 2018 at 11:11 AM Bruce Korb wrote: > > Hi, > > "NEED_LIBOPTS" *does* appear in an AM_CONDITIONAL: > > > AM_CONDITIONAL([NEED_LIBOPTS], [test -n "${NEED_LIBOPTS_DIR}"]) After reconf-ing with -, I have found: autore

error: NEED_LIBOPTS does not appear in AM_CONDITIONAL

2018-07-11 Thread Bruce Korb
Hi, "NEED_LIBOPTS" *does* appear in an AM_CONDITIONAL: > AM_CONDITIONAL([NEED_LIBOPTS], [test -n "${NEED_LIBOPTS_DIR}"]) so I cannot figure out the source of the complaint. > autoreconf -i -v autoreconf: Entering directory `.' autoreconf: configure.ac: not using G

AM_CONDITIONAL fails with line break at the end of $2

2014-07-17 Thread Dimitrios Apostolou
Hello list, the following snippet generates invalid shell code (and a cryptic error message) because of the line break right before the closing parenthesis. AM_CONDITIONAL([HAVE_LIBXML2], [test x$with_libxml2 != xno test x$ac_cv_lib_xml2_xmlFirstElementChild = xyes] ) Generated

Re: AM_CONDITIONAL fails with line break at the end of $2

2014-07-17 Thread Eric Blake
[adding automake] On 07/17/2014 10:00 AM, Dimitrios Apostolou wrote: Hello list, the following snippet generates invalid shell code (and a cryptic error message) because of the line break right before the closing parenthesis. AM_CONDITIONAL([HAVE_LIBXML2], [test x$with_libxml2 != xno

Re: AM_CONDITIONAL fails with line break at the end of $2

2014-07-17 Thread Dimitrios Apostolou
Hi Erik, thank you for forwarding to the appropriate list! On Thu, 17 Jul 2014, Eric Blake wrote: I don't know if automake should work around your bad syntax, or if you should just fix your configure.ac to use correct syntax to begin with. I Is my syntax illegal? Can't I put line-breaks

Re: AM_CONDITIONAL fails with line break at the end of $2

2014-07-17 Thread Eric Blake
one of these: AM_CONDITIONAL([HAVE_LIBXML2], [test x$with_libxml2 != xno test x$ac_cv_lib_xml2_xmlFirstElementChild = xyes]) or AM_CONDITIONAL([HAVE_LIBXML2], [ test x$with_libxml2 != xno test x$ac_cv_lib_xml2_xmlFirstElementChild = xyes]dnl ) (that is, you'll usually see

AM_CONDITIONAL seems failure, help

2009-10-09 Thread 张亚霏
hi all: I write these lines in configure.in: AC_CHECK_LIB([pcre], [pcre_compile], [build_pcre=true], [build_pcre=false]) AM_CONDITIONAL([BUILD_PCRE],[test $build_pcre = true]) AC_MSG_CHECKING(pcrecpp) AC_COMPILE_IFELSE([ #include pcrecpp.h ], [build_pcrecpp=true; AC_MSG_RESULT(yes

Re: AM_CONDITIONAL seems failure, help

2009-10-09 Thread Yavor Doganov
В Fri, 09 Oct 2009 16:34:38 +0800, 张亚霏 написа: AM_CONDITIONAL([BUILD_PCRECPP],[test $build_pcrecpp=true]) Put spaces around `=' (also for the BUILD_LIBICONV conditional). The test for pcrecpp has to be performed with a C++ compiler, otherwise the conditional will always be false. (You can

Re: AM_CONDITIONAL seems failure, help

2009-10-09 Thread Allan Clark
On Fri, Oct 9, 2009 at 09:34, 张亚霏 zhangyafeik...@gmail.com wrote: hi all: I write these lines in configure.in: AC_CHECK_LIB([pcre], [pcre_compile], [build_pcre=true], [build_pcre=false]) AM_CONDITIONAL([BUILD_PCRE],[test $build_pcre = true]) AC_MSG_CHECKING(pcrecpp) AC_COMPILE_IFELSE

AM_CONDITIONAL

2005-08-14 Thread Russell Shaw
Hi, In configure.in, i have: AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes) and it gets turned into: if test x$enable_gtk_doc = xyes; then ENABLE_GTK_DOC_TRUE= ENABLE_GTK_DOC_FALSE='#' else ENABLE_GTK_DOC_TRUE='#' ENABLE_GTK_DOC_FALSE= fi Isn't this backward? When

Re: AM_CONDITIONAL

2005-08-14 Thread Ralf Wildenhues
Hi Russell, * Russell Shaw wrote on Sun, Aug 14, 2005 at 07:21:43PM CEST: In configure.in, i have: AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes) and it gets turned into: if test x$enable_gtk_doc = xyes; then ENABLE_GTK_DOC_TRUE= ENABLE_GTK_DOC_FALSE='#' *snip

Re: Please, help with AM_CONDITIONAL

2004-10-20 Thread Ralf Wildenhues
) AM_CONDITIONAL(AM_TIFF, test $have_tiff = yes) Those lines are within an m4 macro and my question is... Will AM_TIFF be usable from my Makefile.am?: Yes. Have you tried it and found it nonfunctional? BTW, this is an Automake question and is better discussed on its mailing list. Regards, Ralf

Please, help with AM_CONDITIONAL

2004-10-19 Thread Jose Roman Bilbao
Hi all, I am having a problem when trying to build a program conditionally. It is a problem with the macro that detects a specific library (TIFF). This macro makes a definition of HAVE_LIBTIFF: AC_DEFINE(HAVE_LIBTIFF) AM_CONDITIONAL(AM_TIFF, test $have_tiff = yes) Those lines are within an m4

/usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL

2004-10-01 Thread Yasunari Tosa
Hi, I'm getting the following error on Fedora Core 2 (it used to work but no longer). /usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL I see many posting on the google with the same error message.Can you describe the actual reason why?The most

Re: /usr/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL

2004-10-01 Thread Bob Friesenhahn
/depend2.am: am__fastdepCC does not appear in AM_CONDITIONAL I see many posting on the google with the same error message.Can you describe the actual reason why?The most of the goole reply was to update the version.I'd like to know the reason. Here are the versions on this Fedora