Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1434

top ./configure --enable-guththilla makes an invalid config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.7.0
    • 1.7.0
    • None

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

      Attachments

        1. AXIS2C-1434.patch
          1 kB
          Olivier Mengué

        Issue Links

          Activity

            People

              shankar Selvaratnam Uthaiyashankar
              dolmen-oxymel Olivier Mengué
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: