?? configure.in
字號:
dnl This file is part of the KDE libraries/packagesdnl Copyright (C) 2001 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.# Original Author was Kalle@kde.org# I lifted it in some mater. (Stephan Kulow)# I used much code from Janos Farkasdnl Process this file with autoconf to produce a configure script.AC_INIT(acinclude.m4) dnl a source file from your sub dirdnl This is so we can use kde-commonAC_CONFIG_AUX_DIR(admin)dnl This ksh/zsh feature conflicts with `cd blah ; pwd`unset CDPATHdnl Checking host/target/build systems, for make, install etc.AC_CANONICAL_SYSTEM dnl Perform program name transformationAC_ARG_PROGRAMdnl Automake doc recommends to do this only here. (Janos)AM_INIT_AUTOMAKE(kscope, 1.6.2) dnl searches for some needed programsKDE_SET_PREFIXdnl generate the config headerAM_CONFIG_HEADER(config.h) dnl at the distribution this donednl Checks for programs.AC_CHECK_COMPILERSAC_ENABLE_SHARED(yes)AC_ENABLE_STATIC(no)KDE_PROG_LIBTOOLdnl for NLS support. Call them in this order!dnl WITH_NLS is for the po filesAM_KDE_WITH_NLSKDE_USE_QT(3.3)AC_PATH_KDE#MIN_CONFIG(3.3)dnl PACKAGE set beforeAC_C_BIGENDIANAC_CHECK_KDEMAXPATHLENAM_PROG_LEXAC_CHECK_PROG(HAVE_LEX, $LEX, yes, no)if [[ "$HAVE_LEX" = "no" ]]; then AC_MSG_ERROR(Lex/Flex is required in order to build KScope)fiAC_PROG_YACCAC_CHECK_PROG(HAVE_YACC, $YACC, yes, no)if [[ "$HAVE_YACC" = "no" ]]; then AC_MSG_ERROR(Yacc/Bison is required in order to build KScope)fiKDE_CREATE_SUBDIRSLISTAC_CONFIG_FILES([ Makefile ])AC_CONFIG_FILES([ doc/Makefile ])AC_CONFIG_FILES([ doc/en/Makefile ])AC_CONFIG_FILES([ po/Makefile ])AC_CONFIG_FILES([ src/Makefile ])AC_OUTPUTif test "$all_tests" = "bad"; then if test ! "$cache_file" = "/dev/null"; then echo "" echo "Please remove the file $cache_file after changing your setup" echo "so that configure will find the changes next time." echo "" fielse echo "" echo "Good - your configure finished. Start make now" echo ""fi
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -