top ./configure does not do the same thing whith explicit --enable-guththilla 
as without the option
---------------------------------------------------------------------------------------------------

                 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
            Reporter: Olivier Mengué


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"
)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to