Update of /cvsroot/libfunutil/libfunutil
In directory sc8-pr-cvs1:/tmp/cvs-serv31407
Added Files:
configure.libfunUtil
Log Message:
egg
--- NEW FILE: configure.libfunUtil ---
#!/do/not/bash
# ^^^^ to help out emacs
# package-specific configure script for libfunutil
toc_run_failok check_dist_md5s
# toc_run_failok buildtool
toc_add_config PACKAGE_COPYRIGHT="GNU General Public License, version 2. Copyright (c) 2000-2003 Rusty Ballinger (bo...@so...) and stephan beal (sg...@us...)."
INCLUDES="$INCLUDES -I\$(top_srcdir)/include"
# XXX this one is temporary
LDFLAGS="$LDFLAGS -L\$(top_srcdir)/lib/fun"
toc_run_fail gnu_cpp_tools
toc_run_failok readline
toc_run_failok zlib
toc_run_failok bzlib
toc_add_config_h PACKAGE_EMAIL_ADDRESS=lib...@li...
PACKAGE_URL=http://libfunutil.sourceforge.net/
toc_add_config_h PACKAGE_URL=${PACKAGE_URL}
toc_add_config_h PACKAGE_RELEASE_CODENAME="Are we having Fun yet?"
toc_add_config_h "BUILD_HOST=${BUILD_HOST-$HOSTNAME}"
toc_add_config_h "BUILD_USER=${BUILD_USER-$USER}"
toc_add_make configure_enable_cppdeps=1
toc_run_failok doxygen
toc_run_failok lyxport
configure_with_qt=${configure_with_qt-1}
toc_run_fail qt_if_enabled '3.x' '3.*'
# If we're building with Qt, see whether we're also building std::string API's
if test "${configure_with_qt}" = "1"; then
FUN_UTIL_WITH_QT=1
FUN_API_QSTRING=1
if test "${configure_with_string}" = 1; then
FUN_API_STD_STRING=1
else
FUN_API_STD_STRING=0
fi
else
FUN_UTIL_WITH_QT=0
FUN_API_QSTRING=0
FUN_API_STD_STRING=1
fi
# These actually wind up in fun-config.h, but they get there by being passed
# to atsign_parse through the Makefile.
toc_add_make FUN_UTIL_WITH_QT="$FUN_UTIL_WITH_QT"
toc_add_make FUN_API_QSTRING="$FUN_API_QSTRING"
toc_add_make FUN_API_STD_STRING="$FUN_API_STD_STRING"
configure_developer_script=configure.user.$USER
test -f ${configure_developer_script} && {
toc_boldecho "Running $USER's tests..."
source ${configure_developer_script} || toc_die $? "${configure_developer_script} failed"
}
configure_enable_s11n=${configure_enable_s11n-1}
toc_add_config configure_enable_s11n=${configure_enable_s11n}
test x1 = "x${configure_enable_s11n}" && {
source configure.s11n
}
echo ==============================================================
echo "${PACKAGE_NAME} configuration checks completed."
echo ==============================================================
toc_run_fail toc_project_makefile
return 0
|