⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aclocal.m4

📁 Bookcase 是一个用于KDE的个人的书籍管理。它使用XML文件存储格式
💻 M4
📖 第 1 页 / 共 5 页
字号:
# aclocal.m4 generated automatically by aclocal 1.6.3 -*- Autoconf -*-# Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002# Free Software Foundation, Inc.# This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY, to the extent permitted by law; without# even the implied warranty of MERCHANTABILITY or FITNESS FOR A# PARTICULAR PURPOSE.dnl    This file is part of the KDE libraries/packagesdnl    Copyright (C) 1997 Janos Farkas (chexum@shadow.banki.hu)dnl              (C) 1997,98,99 Stephan Kulow (coolo@kde.org)dnl    This file is free software; you can redistribute it and/ordnl    modify it under the terms of the GNU Library General Publicdnl    License as published by the Free Software Foundation; eitherdnl    version 2 of the License, or (at your option) any later version.dnl    This library is distributed in the hope that it will be useful,dnl    but WITHOUT ANY WARRANTY; without even the implied warranty ofdnl    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUdnl    Library General Public License for more details.dnl    You should have received a copy of the GNU Library General Public Licensednl    along with this library; see the file COPYING.LIB.  If not, write todnl    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,dnl    Boston, MA 02111-1307, USA.dnl IMPORTANT NOTE:dnl Please do not modify this file unless you expect your modifications to bednl carried into every other module in the repository. dnldnl Single-module modifications are best placed in configure.in for kdelibsdnl and kdebase or configure.in.in if present.dnl ------------------------------------------------------------------------dnl Forward compatibility macros (make autoconf 2.13 look like 2.50),dnl thanks to Raja R Harinath.dnl ------------------------------------------------------------------------dnlifdef([_AC_PATH_X_XMKMF],[],   [AC_DEFUN([_AC_PATH_X_XMKMF],[AC_PATH_X_XMKMF])])ifdef([AC_OUTPUT_SUBDIRS],[],   [AC_DEFUN([AC_OUTPUT_SUBDIRS],[subdirs=$1; _AC_OUTPUT_SUBDIRS])])# KDE_PATH_X_DIRECTdnl Internal subroutine of AC_PATH_X.dnl Set ac_x_includes and/or ac_x_libraries.AC_DEFUN(KDE_PATH_X_DIRECT,[AC_REQUIRE([KDE_CHECK_LIB64])if test "$ac_x_includes" = NO; then  # Guess where to find include files, by looking for this one X11 .h file.  test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h  # First, try using that file with no special directory specified.AC_TRY_CPP([#include <$x_direct_test_include>],[# We can compile using X headers with no special include directory.ac_x_includes=],[# Look for the header file in a standard set of common directories.# Check X11 before X11Rn because it is often a symlink to the current release.  for ac_dir in               \    /usr/X11/include          \    /usr/X11R6/include        \    /usr/X11R5/include        \    /usr/X11R4/include        \                              \    /usr/include/X11          \    /usr/include/X11R6        \    /usr/include/X11R5        \    /usr/include/X11R4        \                              \    /usr/local/X11/include    \    /usr/local/X11R6/include  \    /usr/local/X11R5/include  \    /usr/local/X11R4/include  \                              \    /usr/local/include/X11    \    /usr/local/include/X11R6  \    /usr/local/include/X11R5  \    /usr/local/include/X11R4  \                              \    /usr/X386/include         \    /usr/x386/include         \    /usr/XFree86/include/X11  \                              \    /usr/include              \    /usr/local/include        \    /usr/unsupported/include  \    /usr/athena/include       \    /usr/local/x11r5/include  \    /usr/lpp/Xamples/include  \                              \    /usr/openwin/include      \    /usr/openwin/share/include \    ; \  do    if test -r "$ac_dir/$x_direct_test_include"; then      ac_x_includes=$ac_dir      break    fi  done])fi # $ac_x_includes = NOif test "$ac_x_libraries" = NO; then  # Check for the libraries.  test -z "$x_direct_test_library" && x_direct_test_library=Xt  test -z "$x_direct_test_function" && x_direct_test_function=XtMalloc  # See if we find them without any special options.  # Don't add to $LIBS permanently.  ac_save_LIBS="$LIBS"  LIBS="-l$x_direct_test_library $LIBS"AC_TRY_LINK(, [${x_direct_test_function}()],[LIBS="$ac_save_LIBS"# We can link X programs with no special library path.ac_x_libraries=],[LIBS="$ac_save_LIBS"# First see if replacing the include by lib works.# Check X11 before X11Rn because it is often a symlink to the current release.for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \    /usr/X11/lib${kdelibsuff}           \    /usr/X11R6/lib${kdelibsuff}         \    /usr/X11R5/lib${kdelibsuff}         \    /usr/X11R4/lib${kdelibsuff}         \                                        \    /usr/lib${kdelibsuff}/X11           \    /usr/lib${kdelibsuff}/X11R6         \    /usr/lib${kdelibsuff}/X11R5         \    /usr/lib${kdelibsuff}/X11R4         \                                        \    /usr/local/X11/lib${kdelibsuff}     \    /usr/local/X11R6/lib${kdelibsuff}   \    /usr/local/X11R5/lib${kdelibsuff}   \    /usr/local/X11R4/lib${kdelibsuff}   \                                        \    /usr/local/lib${kdelibsuff}/X11     \    /usr/local/lib${kdelibsuff}/X11R6   \    /usr/local/lib${kdelibsuff}/X11R5   \    /usr/local/lib${kdelibsuff}/X11R4   \                                        \    /usr/X386/lib${kdelibsuff}          \    /usr/x386/lib${kdelibsuff}          \    /usr/XFree86/lib${kdelibsuff}/X11   \                                        \    /usr/lib${kdelibsuff}               \    /usr/local/lib${kdelibsuff}         \    /usr/unsupported/lib${kdelibsuff}   \    /usr/athena/lib${kdelibsuff}        \    /usr/local/x11r5/lib${kdelibsuff}   \    /usr/lpp/Xamples/lib${kdelibsuff}   \    /lib/usr/lib${kdelibsuff}/X11       \                                        \    /usr/openwin/lib${kdelibsuff}       \    /usr/openwin/share/lib${kdelibsuff} \    ; \dodnl Don't even attempt the hair of trying to link an X program!  for ac_extension in a so sl; do    if test -r $ac_dir/lib${x_direct_test_library}.$ac_extension; then      ac_x_libraries=$ac_dir      break 2    fi  donedone])fi # $ac_x_libraries = NO])dnl ------------------------------------------------------------------------dnl Find a file (or one of more files in a list of dirs)dnl ------------------------------------------------------------------------dnlAC_DEFUN(AC_FIND_FILE,[$3=NOfor i in $2;do  for j in $1;  do    echo "configure: __oline__: $i/$j" >&AC_FD_CC    if test -r "$i/$j"; then      echo "taking that" >&AC_FD_CC      $3=$i      break 2    fi  donedone])dnl KDE_FIND_PATH(programm-name, variable-name, list of directories,dnl	if-not-found, test-parameter)AC_DEFUN(KDE_FIND_PATH,[   AC_MSG_CHECKING([for $1])   if test -n "$$2"; then        kde_cv_path="$$2";   else        kde_cache=`echo $1 | sed 'y%./+-%__p_%'`        AC_CACHE_VAL(kde_cv_path_$kde_cache,        [        kde_cv_path="NONE"	dirs="$3"	kde_save_IFS=$IFS	IFS=':'	for dir in $PATH; do	  dirs="$dirs $dir"        done	IFS=$kde_save_IFS        for dir in $dirs; do	  if test -x "$dir/$1"; then	    if test -n "$5"	    then              evalstr="$dir/$1 $5 2>&1 "	      if eval $evalstr; then                kde_cv_path="$dir/$1"                break	      fi            else		kde_cv_path="$dir/$1"                break	    fi          fi        done        eval "kde_cv_path_$kde_cache=$kde_cv_path"        ])      eval "kde_cv_path=\"`echo '$kde_cv_path_'$kde_cache`\""   fi   if test -z "$kde_cv_path" || test "$kde_cv_path" = NONE; then      AC_MSG_RESULT(not found)      $4   else      AC_MSG_RESULT($kde_cv_path)      $2=$kde_cv_path   fi])AC_DEFUN(KDE_MOC_ERROR_MESSAGE,[    AC_MSG_ERROR([No Qt meta object compiler (moc) found!Please check whether you installed Qt correctly.You need to have a running moc binary.configure tried to run $ac_cv_path_moc and the test didn'tsucceed. If configure shouldn't have tried this one, setthe environment variable MOC to the right one before runningconfigure.])])AC_DEFUN(KDE_UIC_ERROR_MESSAGE,[    AC_MSG_WARN([No Qt ui compiler (uic) found!Please check whether you installed Qt correctly.You need to have a running uic binary.configure tried to run $ac_cv_path_uic and the test didn'tsucceed. If configure shouldn't have tried this one, setthe environment variable UIC to the right one before runningconfigure.])])AC_DEFUN(KDE_CHECK_UIC_FLAG,[    AC_MSG_CHECKING([whether uic supports -$1 ])    kde_cache=`echo $1 | sed 'y% .=/+-%____p_%'`    AC_CACHE_VAL(kde_cv_prog_uic_$kde_cache,    [        cat >conftest.ui <<EOT        <!DOCTYPE UI><UI version="3" stdsetdef="1"></UI>EOT        ac_uic_testrun="$UIC_PATH -$1 $2 conftest.ui >/dev/null"        if AC_TRY_EVAL(ac_uic_testrun); then            eval "kde_cv_prog_uic_$kde_cache=yes"        else            eval "kde_cv_prog_uic_$kde_cache=no"        fi        rm -f conftest*    ])    if eval "test \"`echo '$kde_cv_prog_uic_'$kde_cache`\" = yes"; then        AC_MSG_RESULT([yes])        :        $3    else        AC_MSG_RESULT([no])        :        $4    fi])dnl ------------------------------------------------------------------------dnl Find the meta object compiler and the ui compiler in the PATH,dnl in $QTDIR/bin, and some more usual placesdnl ------------------------------------------------------------------------dnlAC_DEFUN(AC_PATH_QT_MOC_UIC,[   qt_bindirs=""   for dir in $kde_qt_dirs; do      qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"   done   qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin"   if test ! "$ac_qt_bindir" = "NO"; then      qt_bindirs="$ac_qt_bindir $qt_bindirs"   fi   KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])   if test -z "$UIC_NOT_NEEDED"; then     KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""])     if test -z "$UIC_PATH" ; then       KDE_UIC_ERROR_MESSAGE       exit 1     elif test $kde_qtver = 3; then       KDE_CHECK_UIC_FLAG(L,[/nonexistant],ac_uic_supports_libpath=yes,ac_uic_supports_libpath=no)       KDE_CHECK_UIC_FLAG(nounload,,ac_uic_supports_nounload=yes,ac_uic_supports_nounload=no)       UIC=$UIC_PATH       if test x$ac_uic_supports_libpath = xyes; then           UIC="$UIC -L \$(kde_widgetdir)"       fi       if test x$ac_uic_supports_nounload = xyes; then           UIC="$UIC -nounload"       fi     fi   else     UIC="echo uic not available: "   fi   AC_SUBST(MOC)   AC_SUBST(UIC)   UIC_TR="i18n"   if test $kde_qtver = 3; then     UIC_TR="tr2i18n"   fi   AC_SUBST(UIC_TR)])AC_DEFUN(KDE_1_CHECK_PATHS,[  KDE_1_CHECK_PATH_HEADERS  KDE_TEST_RPATH=  if test -n "$USE_RPATH"; then     if test -n "$kde_libraries"; then       KDE_TEST_RPATH="-R $kde_libraries"     fi     if test -n "$qt_libraries"; then       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $qt_libraries"     fi     if test -n "$x_libraries"; then       KDE_TEST_RPATH="$KDE_TEST_RPATH -R $x_libraries"     fi     KDE_TEST_RPATH="$KDE_TEST_RPATH $KDE_EXTRA_RPATH"  fiAC_MSG_CHECKING([for KDE libraries installed])ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5'if AC_TRY_EVAL(ac_link) && test -s conftest; then  AC_MSG_RESULT(yes)else  AC_MSG_ERROR([your system fails at linking a small KDE application!Check, if your compiler is installed correctly and if you have used thesame compiler to compile Qt and kdelibs as you did use now.For more details about this problem, look at the end of config.log.])fiif eval `KDEDIR= ./conftest 2>&5`; then  kde_result=doneelse  kde_result=problemsfiKDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.logkde_have_all_paths=yesKDE_SET_PATHS($kde_result)])AC_DEFUN(KDE_SET_PATHS,[  kde_cv_all_paths="kde_have_all_paths=\"yes\" \	kde_htmldir=\"$kde_htmldir\" \	kde_appsdir=\"$kde_appsdir\" \	kde_icondir=\"$kde_icondir\" \	kde_sounddir=\"$kde_sounddir\" \	kde_datadir=\"$kde_datadir\" \	kde_locale=\"$kde_locale\" \	kde_cgidir=\"$kde_cgidir\" \	kde_confdir=\"$kde_confdir\" \	kde_mimedir=\"$kde_mimedir\" \	kde_toolbardir=\"$kde_toolbardir\" \	kde_wallpaperdir=\"$kde_wallpaperdir\" \	kde_templatesdir=\"$kde_templatesdir\" \	kde_bindir=\"$kde_bindir\" \	kde_servicesdir=\"$kde_servicesdir\" \	kde_servicetypesdir=\"$kde_servicetypesdir\" \	kde_moduledir=\"$kde_moduledir\" \   kde_styledir=\"$kde_styledir\" \	kde_widgetdir=\"$kde_widgetdir\" \	kde_result=$1"])AC_DEFUN(KDE_SET_DEFAULT_PATHS,[if test "$1" = "default"; then  if test -z "$kde_htmldir"; then    kde_htmldir='\${prefix}/share/doc/HTML'  fi  if test -z "$kde_appsdir"; then    kde_appsdir='\${prefix}/share/applnk'  fi  if test -z "$kde_icondir"; then    kde_icondir='\${prefix}/share/icons'  fi  if test -z "$kde_sounddir"; then    kde_sounddir='\${prefix}/share/sounds'  fi  if test -z "$kde_datadir"; then    kde_datadir='\${prefix}/share/apps'  fi  if test -z "$kde_locale"; then    kde_locale='\${prefix}/share/locale'  fi  if test -z "$kde_cgidir"; then    kde_cgidir='\${exec_prefix}/cgi-bin'  fi  if test -z "$kde_confdir"; then    kde_confdir='\${prefix}/share/config'  fi  if test -z "$kde_mimedir"; then    kde_mimedir='\${prefix}/share/mimelnk'  fi  if test -z "$kde_toolbardir"; then    kde_toolbardir='\${prefix}/share/toolbar'  fi  if test -z "$kde_wallpaperdir"; then    kde_wallpaperdir='\${prefix}/share/wallpapers'  fi  if test -z "$kde_templatesdir"; then    kde_templatesdir='\${prefix}/share/templates'  fi  if test -z "$kde_bindir"; then    kde_bindir='\${exec_prefix}/bin'  fi  if test -z "$kde_servicesdir"; then    kde_servicesdir='\${prefix}/share/services'  fi  if test -z "$kde_servicetypesdir"; then    kde_servicetypesdir='\${prefix}/share/servicetypes'  fi  if test -z "$kde_moduledir"; then    if test "$kde_qtver" = "2"; then      kde_moduledir='\${libdir}/kde2'    else      kde_moduledir='\${libdir}/kde3'    fi  fi  if test -z "$kde_styledir"; then    kde_styledir='\${libdir}/kde3/plugins/styles'  fi  if test -z "$kde_widgetdir"; then    kde_widgetdir='\${libdir}/kde3/plugins/designer'  fi  KDE_SET_PATHS(defaults)else  if test $kde_qtver = 1; then     AC_MSG_RESULT([compiling])     KDE_1_CHECK_PATHS  else     AC_MSG_ERROR([path checking not yet supported for KDE 2])  fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -