An Internationalized Software Project With Auto Tools | ||
---|---|---|
Prev | wxWidgets Overview | Next |
configure.ac |
... # Checks for libraries. AC_ARG_ENABLE([unicode],[AC_HELP_STRING([--enable-unicode],[internally use unicode])], [AS_IF([test "x$enableval" = "xno"],[wx_config_args="--unicode=no"]) AS_IF([test "x$enableval" = "xyes"],[wx_config_args="--unicode=yes"])],) AM_OPTIONS_WXCONFIG reqwx=2.6.3 AM_PATH_WXCONFIG($reqwx, wxWin=1) if test "$wxWin" != 1; then AC_MSG_ERROR([ wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is $reqwx or above. ]) fi CPPFLAGS="$CPPFLAGS $WX_CPPFLAGS" CXXFLAGS="$CXXFLAGS $WX_CXXFLAGS_ONLY" CFLAGS="$CFLAGS $WX_CFLAGS_ONLY" LIBS="$LIBS $WX_LIBS" # Checks for header files. ... |
# gmake cd . && aclocal19 -I m4 ... running /usr/local/bin/bash ./configure --no-create --no-recursion ... checking for wx-config... no configure: error: wxWidgets must be installed on your system. Please check that wx-config is in path, the directory where wxWidgets libraries are installed (returned by 'wx-config --libs' or 'wx-config --static --libs' command) is in LD_LIBRARY_PATH or equivalent variable and wxWidgets version is 2.4.0 or above. gmake: *** [config.status] Error 1 |
# ./configure --help ... --enable-unicode internally use unicode Optional Packages: ... --with-wxdir=PATH Use uninstalled version of wxWidgets in PATH --with-wx-config=CONFIG wx-config script to use (optional) --with-wx-prefix=PREFIX Prefix where wxWidgets is installed (optional) --with-wx-exec-prefix=PREFIX Exec prefix where wxWidgets is installed (optional) ... |
# /usr/X11R6/bin/wxgtk2u-2.6-config --version 2.6.3 # /usr/X11R6/bin/wxgtk2u-2.6-config --cflags -I/usr/X11R6/include/wx-2.6/gtk2-unicode-release-2.6 -I/usr/X11R6/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA # /usr/X11R6/bin/wxgtk2u-2.6-config --libs -L/usr/X11R6/lib -pthread -L/usr/local/lib -liconv -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_qa-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 |
# ./configure --with-wx-config=/usr/X11R6/bin/wxgtk2u-2.6-config ... checking for wx-config... /usr/X11R6/bin/wxgtk2u-2.6-config checking for wxWidgets version >= 2.6.3... yes (version 2.6.3) checking for wxWidgets static library... no ... |
Prev | Home | Next |
Internationalization of the Documentation | Using wxWidgets |