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

📄 configure.in

📁 cygwin, 著名的在win32下模拟unix操作系统的东东
💻 IN
字号:
dnl Copyright (c) 2001, Red Hat, Inc.dnldnl     This program is free software; you can redistribute it and/or modifydnl     it under the terms of the GNU General Public License as published bydnl     the Free Software Foundation; either version 2 of the License, ordnl     (at your option) any later version.dnldnl     A copy of the GNU General Public License can be found atdnl     http://www.gnu.org/dnldnl Written by Christopher Faylor <cgf@redhat.com>dnl Changed for subauth subdir by Corinna Vinschen <vinschen@redhat.com>dnl Autoconf configure script for Cygwin utilities.dnldnl Process this file with autoconf to produce a configure script.AC_PREREQ(2.12)AC_INIT(Makefile.in)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_PROGRAMif 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_INSTALLAC_OUTPUT(Makefile cygsuba.def:cygsuba.din)

⌨️ 快捷键说明

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