configure.in

来自「这是linux下读取pc主板温度传感器的源代码」· IN 代码 · 共 85 行

IN
85
字号
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(ksensors, 0.7.3) 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.0.0)AC_PATH_KDE#MIN_CONFIG(3.0.0)dnl PACKAGE set beforeAC_C_BIGENDIANAC_CHECK_KDEMAXPATHLENKDE_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_CONFIG_FILES([ src/pics/Makefile ])AC_CONFIG_FILES([ src/sounds/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 + =
减小字号Ctrl + -
显示快捷键?