📄 configure.in
字号:
dnl Autoconf configure script for Cygwin utilities.dnl Copyright 1996, 1997, 1998, 1999, 2000 Cygnus Solutions.dnldnl This file is part of Cygwin.dnldnl This software is a copyrighted work licensed under the terms of thednl Cygwin license. Please consult the file "CYGWIN_LICENSE" fordnl details.dnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.12)AC_INIT(mount.cc)dnl FIXME: We temporarily define our own version of AC_PROG_CC. This isdnl copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. Wednl are probably using a cross compiler, which will not be able to fullydnl link an executable. This should really be fixed in autoconfdnl itself.AC_DEFUN(LIB_AC_PROG_CC,[AC_BEFORE([$0], [AC_PROG_CPP])dnlAC_CHECK_PROG(CC, gcc, gcc)if test -z "$CC"; then AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])fiAC_PROG_CC_GNUif test $ac_cv_prog_gcc = yes; then GCC=yesdnl Check whether -g works, even if CFLAGS is set, in case the packagednl plays around with CFLAGS (such as to build both debugging anddnl normal versions of a library), tasteless as that idea is. ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= AC_PROG_CC_G if test "$ac_test_CFLAGS" = set; then CFLAGS="$ac_save_CFLAGS" elif test $ac_cv_prog_cc_g = yes; then CFLAGS="-g -O2" else CFLAGS="-O2" fielse GCC= test "${CFLAGS+set}" = set || CFLAGS="-g"fi])AC_DEFUN(LIB_AC_PROG_CXX,[AC_BEFORE([$0], [AC_PROG_CPP])dnlAC_CHECK_TOOL(CXX, g++, g++)if test -z "$CXX"; then AC_CHECK_PROG(CXX, c++, c++, , , ) test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH])fiCXXFLAGS='$(CFLAGS)'])AC_CANONICAL_SYSTEMLIB_AC_PROG_CCLIB_AC_PROG_CXXAC_ARG_PROGRAMAC_CHECK_LIB(iconv, libiconv, libiconv=-liconv)AC_SUBST(libiconv)if test "x$cross_compiling" = "xyes"; then if test "x$program_transform_name" = "xs,x,x,"; then program_transform_name="" fi if test "x$program_transform_name" = "x"; then program_transform_name="s,^,$host-," else program_transform_name="$program_transform_name -e s,^,$host-," fifiAC_PROG_INSTALLAM_EXEEXTAC_OUTPUT(Makefile)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -