[ https://issues.apache.org/jira/browse/AXIS2C-1434?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olivier Mengué updated AXIS2C-1434: ----------------------------------- Description: configure.ac does not do the same when --enable-guththilla is given as when it is not given. In particular it does not set GUTHTHILLA_LIBS and GUTHTHILLA_DIR so the generated Makefile will not automatically build Guththilla and make will fail. ./configure --enable-guththilla=no => OK ./configure => OK ./configure --enable-guththilla => Not OK ./configure --enable-guththilla=yes => Not OK Here the current configure.ac code that handles the --enable-guththilla option: AC_ARG_ENABLE(guththila, [ --enable-guththila build Guththila XML parser library wrapper (default=yes)], [ case "${enableval}" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED" CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED" WRAPPER_DIR="guththila" ;; esac ], AC_MSG_RESULT(yes) WRAPPER_DIR="guththila" CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED" CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED" AC_CONFIG_SUBDIRS(guththila) GUTHTHILA_LIBS="/guththila/src/" GUTHTHILA_DIR="guththila" ) was: configure.ac does not do the same when --enable-guththilla is given as when it is not given. In particular it does not set GUTHTHILLA_LIBS and GUTHTHILLA_DIR so the generated Makefile will not automatically build Guththilla. Here the current configure.ac code that handles the --enable-guththilla option: AC_ARG_ENABLE(guththila, [ --enable-guththila build Guththila XML parser library wrapper (default=yes)], [ case "${enableval}" in no) AC_MSG_RESULT(no) ;; *) AC_MSG_RESULT(yes) CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED" CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED" WRAPPER_DIR="guththila" ;; esac ], AC_MSG_RESULT(yes) WRAPPER_DIR="guththila" CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED" CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED" AC_CONFIG_SUBDIRS(guththila) GUTHTHILA_LIBS="/guththila/src/" GUTHTHILA_DIR="guththila" ) Summary: top ./configure --enable-guththilla makes an invalid config (was: top ./configure does not do the same thing whith explicit --enable-guththilla as without the option) > top ./configure --enable-guththilla makes an invalid config > ----------------------------------------------------------- > > Key: AXIS2C-1434 > URL: https://issues.apache.org/jira/browse/AXIS2C-1434 > Project: Axis2-C > Issue Type: Bug > Components: build system (Unix/Linux) > Affects Versions: 1.6.0, 1.7.0, Current (Nightly) > Reporter: Olivier Mengué > Attachments: AXIS2C-1434.patch > > > configure.ac does not do the same when --enable-guththilla is given as when > it is not given. In particular it does not set GUTHTHILLA_LIBS and > GUTHTHILLA_DIR so the generated Makefile will not automatically build > Guththilla and make will fail. > ./configure --enable-guththilla=no => OK > ./configure => OK > ./configure --enable-guththilla => Not OK > ./configure --enable-guththilla=yes => Not OK > Here the current configure.ac code that handles the --enable-guththilla > option: > AC_ARG_ENABLE(guththila, [ --enable-guththila > build Guththila XML parser library wrapper > (default=yes)], > [ case "${enableval}" in > no) > AC_MSG_RESULT(no) > ;; > *) > AC_MSG_RESULT(yes) > CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED" > CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED" > WRAPPER_DIR="guththila" > ;; > esac ], > AC_MSG_RESULT(yes) > WRAPPER_DIR="guththila" > CFLAGS="$CFLAGS -DAXIS2_GUTHTHILA_ENABLED" > CPPFLAGS="$CPPFLAGS -DAXIS2_GUTHTHILA_ENABLED" > AC_CONFIG_SUBDIRS(guththila) > GUTHTHILA_LIBS="/guththila/src/" > GUTHTHILA_DIR="guththila" > ) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.