• Home
  • Raw
  • Download

Lines Matching +full:ncurses +full:- +full:devel

24 if test -d .git ; then
25 extra=`git describe 2>/dev/null | sed 's+LIBXML[[0-9.]]*-++'`
29 LIBXML_VERSION_EXTRA="-GIT$extra"
45 # Support silent build rules, requires at least automake-1.11. Disable
46 # by either passing --disable-silent-rules to configure or passing V=1
73 VERSION_SCRIPT_FLAGS=-Wl,--version-script=
76 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
80 AM_CONDITIONAL([USE_VERSION_SCRIPT], [test -n "$VERSION_SCRIPT_FLAGS"])
95 [ --with-c14n add the Canonicalization support (on)])
97 [ --with-catalog add the Catalog support (on)])
99 [ --with-debug add the debugging module (on)])
101 [ --with-docbook add Docbook SGML support (on)])
103 [ --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)])
105 [ --with-ftp add the FTP support (on)])
107 [ --with-history add history support to xmllint shell(off)])
109 [ --with-html add the HTML support (on)])
111 AC_ARG_WITH(html-dir, AS_HELP_STRING([--with-html-dir=path],
115 AC_ARG_WITH(html-subdir, AS_HELP_STRING([--with-html-subdir=path],
116 [directory used under html-dir, default '']),
120 [ --with-http add the HTTP support (on)])
122 [ --with-iconv[[=DIR]] add ICONV support (on)])
124 [ --with-icu add ICU support (off)])
126 [ --with-iso8859x add ISO8859X support if no iconv (on)])
128 [ --with-legacy add deprecated APIs for compatibility (on)])
130 [ --with-mem-debug add the memory debugging module (off)])
132 [ --with-minimum build a minimally sized library (off)])
134 [ --with-output add the serialization support (on)])
136 [ --with-pattern add the xmlPattern selection interface (on)])
138 [ --with-push add the PUSH parser interfaces (on)])
140 [ --with-python[[=DIR]] build Python bindings if found])
142 [ --with-python-install-dir=DIR
145 [ --with-reader add the xmlReader parsing interface (on)])
147 [ --with-readline=DIR use readline in DIR],[
148 if test "$withval" != "no" -a "$withval" != "yes"; then
150 CPPFLAGS="${CPPFLAGS} -I$withval/include"
151 LDFLAGS="${LDFLAGS} -L$withval/lib"
155 [ --with-regexps add Regular Expressions support (on)])
157 [ --with-run-debug add the runtime debugging module (off)])
159 [ --with-sax1 add the older SAX1 interface (on)])
161 [ --with-schemas add Relax-NG and Schemas support (on)])
163 [ --with-schematron add Schematron support (on)])
165 [ --with-threads add multithread support(on)])
166 AC_ARG_WITH(thread-alloc,
167 [ --with-thread-alloc add per-thread memory(off)])
169 [ --with-tree add the DOM like tree manipulation APIs (on)])
171 [ --with-valid add the DTD validation support (on)])
173 [ --with-writer add the xmlWriter saving interface (on)])
175 [ --with-xinclude add the XInclude support (on)])
177 [ --with-xpath add the XPATH support (on)])
179 [ --with-xptr add the XPointer support (on)])
181 [ --with-modules add the dynamic modules support (on)])
183 [ --with-zlib[[=DIR]] use libz in DIR],[
184 if test "$withval" != "no" -a "$withval" != "yes"; then
186 CPPFLAGS="${CPPFLAGS} -I$withval/include"
187 LDFLAGS="${LDFLAGS} -L$withval/lib"
191 [ --with-lzma[[=DIR]] use liblzma in DIR],[
192 if test "$withval" != "no" -a "$withval" != "yes"; then
194 CPPFLAGS="${CPPFLAGS} -I$withval/include"
195 LDFLAGS="${LDFLAGS} -L$withval/lib"
199 [ --with-coverage build for code coverage with GCC (off)])
201 AC_ARG_ENABLE(rebuild-docs,
202 [ --enable-rebuild-docs[[=yes/no]] rebuild some generated docs [[default=no]]])
203 if test "$enable_rebuild_docs" = "yes" -a "$srcdir" != "."; then
206 AM_CONDITIONAL([REBUILD_DOCS], [test "$enable_rebuild_docs" = "yes" -o "$USER" = "veillard"])
383 # Don't run pkg-config if with_zlib contains a path.
385 # Try pkg-config first so that static linking works.
396 Z_CFLAGS="-I${Z_DIR}/include"
397 Z_LIBS="-L${Z_DIR}/lib -lz"
399 *-*-solaris*)
400 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
404 Z_LIBS="-lz"
422 # Don't run pkg-config if with_lzma contains a path.
424 # Try pkg-config first so that static linking works.
430 # If pkg-config failed, fall back to AC_CHECK_LIB. This
438 LZMA_CFLAGS="-I${LZMA_DIR}/include"
439 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma"
441 LZMA_LIBS="-llzma"
646 AC_ARG_ENABLE(ipv6, [ --enable-ipv6[[=yes/no]] enables compilation of IPv6 code [[default=yes]]],…
715 AC_CHECK_LIB($lib, getaddrinfo, [LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break])
727 XML_LIBDIR='-L${libdir}'
728 XML_INCLUDEDIR='-I${includedir}/libxml2'
743 hppa*-*-hpux* )
744 EXTRA_CFLAGS="${EXTRA_CFLAGS} -Wp,-H30000"
746 *-dec-osf* )
747 EXTRA_CFLAGS="${EXTRA_CFLAGS} -ieee"
749 alpha*-*-linux* )
750 EXTRA_CFLAGS="${EXTRA_CFLAGS} -ieee"
760 EXTRA_CFLAGS="${EXTRA_CFLAGS} -fexceptions"
764-pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -
766 EXTRA_CFLAGS="${EXTRA_CFLAGS} -Wno-long-long -Wno-format-extra-args"
768 alpha*-*-linux* )
769 EXTRA_CFLAGS="${EXTRA_CFLAGS} -mieee"
771 alpha*-*-osf* )
772 EXTRA_CFLAGS="${EXTRA_CFLAGS} -mieee"
777 *-*-solaris*)
778 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
780 hppa*-hp-mpeix)
783 *-*-mingw* | *-*-cygwin* | *-*-msvc* )
785 # need to add -DLIBXML_STATIC to EXTRA_CFLAGS in order for linking to
790 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
791 EXTRA_CFLAGS="$EXTRA_CFLAGS -DLIBXML_STATIC"
807 if test -x "$with_python/bin/python"
812 if test -x "$with_python/python.exe"
817 if test -x "$with_python"
822 if test -x "$PYTHON"
825 with_python=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
834 …PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_version())…
835 PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_inc())"`
838 # PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib…
841 if test "$PYTHON_VERSION" != "" -a "$PYTHON_INCLUDES" = ""
843 if test -r $with_python/include/python$PYTHON_VERSION/Python.h
847 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
851 if test -r /usr/include/python$PYTHON_VERSION/Python.h
855 if test -r $with_python/include/Python.h
869 if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = ""
871 if test -d $libdir/python$PYTHON_VERSION/site-packages
873 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
875 if test -d $with_python/lib/site-packages
877 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
879 …PYTHON_SITE_PACKAGES=$($PYTHON -c 'from distutils import sysconfig; print(sysconfig.get_python_lib…
884 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
905 *-*-cygwin*)
913 *-*-mingw*)
920 MODULE_PLATFORM_LIBS="-ldld"
924 MODULE_PLATFORM_LIBS="-ldl"
935 *-*-hpux* )
964 dnl specific tests to setup DV and Bill's devel environments with debug etc ...
965 dnl (-Wunreachable-code)
967 if [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ]] || \
968 [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ]] || \
969 [[ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]]
983-g -O -pedantic -W -Wformat -Wno-format-extra-args -Wunused -Wimplicit -Wreturn-type -Wswitch -Wco…
985 STATIC_BINARIES="-static"
986 dnl -Wcast-qual -ansi
1011 dnl Thread-related stuff
1031 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
1037 if test -z "$THREADS_W32"; then
1041 THREAD_LIBS="-lpthread"
1051 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
1055 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
1057 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[[0-9]]*\.++' | sed 's+\..*++'`
1058 if test "${THREAD_LIBS}" = "-lpthread" ; then
1062 BASE_THREAD_LIBS="-lpthread"
1067 BASE_THREAD_LIBS="-lpthread"
1077 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
1081 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
1091 AM_CONDITIONAL([THREADS_W32],[test -n "$THREADS_W32"])
1101 for termlib in ncurses curses termcap terminfo termlib; do
1102 AC_CHECK_LIB(${termlib}, tputs, [tcap="-l$termlib"])
1103 test -n "$tcap" && break
1108 RDL_LIBS="-lhistory"
1109 AC_DEFINE([HAVE_LIBHISTORY], [], [Define if history library is there (-lhistory)])]))
1112 RDL_LIBS="-lreadline $RDL_LIBS $tcap"
1113 … AC_DEFINE([HAVE_LIBREADLINE], [], [Define if readline library is there (-lreadline)])], , $tcap))
1114 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
1115 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
1116 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
1169 echo xmlReader requires Push interface - enabling it
1184 echo xmlWriter requires Push interface - enabling it
1188 echo xmlWriter requires Output interface - enabling it
1299 echo XPointer requires XPath support - enabling it
1317 echo C14N requires XPath support - enabling it
1336 echo XInclude requires XPath support - enabling it
1344 if test "$with_xptr" = "" -a "$with_xpath" = "no" ; then
1348 if test "$with_schematron" = "" -a "$with_xpath" = "no" ; then
1396 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
1397 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
1399 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
1400 ICONV_LIBS="-L$with_iconv/lib"
1412 AC_MSG_CHECKING(for iconv in -liconv)
1417 LIBS="${LIBS} -liconv"
1425 ICONV_LIBS="${ICONV_LIBS} -liconv"
1449 AC_MSG_RESULT([${xml_xxx:-
1462 *) M_LIBS="-lm"
1472 # Try pkg-config first so that static linking works.
1474 PKG_CHECK_MODULES([ICU],[icu-i18n],
1478 # If pkg-config failed, fall back to AC_CHECK_LIB. This
1482 ICU_CONFIG=icu-config
1483 if ${ICU_CONFIG} --cflags >/dev/null 2>&1
1485 ICU_LIBS=`${ICU_CONFIG} --ldflags`
1489 if test "$with_icu" != "yes" -a "$with_iconv" != "" ; then
1490 CPPFLAGS="${CPPFLAGS} -I$with_icu"
1492 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_icu"
1498 UConverter *utf = ucnv_open("UTF-8", NULL);]])],[
1502 AC_MSG_CHECKING(for icu in -licucore)
1507 LIBS="${LIBS} -licucore"
1510 UConverter *utf = ucnv_open("UTF-8", NULL);]])],[
1513 ICU_LIBS="${ICU_LIBS} -licucore"
1527 XML_LIBS="-lxml2"
1542 echo "Disabling Schemas/Relax-NG support"
1546 echo "Enabled Schemas/Relax-NG support"
1584 echo Disabling memory debug - cannot use mem-debug with thread-alloc!
1609 *-*-mingw*)
1610 CPPFLAGS="$CPPFLAGS -DWIN32"
1611 WIN32_EXTRA_LIBADD="-lws2_32"
1612 WIN32_EXTRA_LDFLAGS="-no-undefined"
1616 *-w64-mingw*)
1617 WIN32_EXTRA_PYTHON_LIBADD="-shrext .pyd -L${pythondir}/../../lib -lpython${PYTHON_VERSION}"
1620 … WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
1625 *-*-cygwin*)
1626 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
1629 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
1643 dnl If you like to activate at run-time C99 compatible number output
1650 dnl AC_DEFINE([snprintf],[_snprintf],[Win32 Std C name mangling work-around])
1651 dnl AC_DEFINE([vsnprintf],[_vsnprintf],[Win32 Std C name mangling work-around])
1652 dnl and do not redefine those functions is C-source files.
1657 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
1660 EXTRA_CFLAGS="$EXTRA_CFLAGS -fprofile-arcs -ftest-coverage"
1661 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
1692 rm -f COPYING.LIB COPYING
1693 ln -s $srcdir/Copyright COPYING
1696 …kefile xstc/Makefile include/libxml/xmlversion.h libxml-2.0.pc libxml-2.0-uninstalled.pc libxml2-c…
1698 AC_CONFIG_FILES([xml2-config], [chmod +x xml2-config])