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

📄 configure

📁 yacc编译器
💻
📖 第 1 页 / 共 5 页
字号:
		cf_save_CFLAGS="$CFLAGS"		CFLAGS="$CFLAGS -no-gcc"		cat > conftest.$ac_ext <<EOF#line 1412 "configure"#include "confdefs.h"int main() {#ifdef __INTEL_COMPILER#elsemake an error#endif; return 0; }EOFif { (eval echo configure:1424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  INTEL_COMPILER=yescf_save_CFLAGS="$cf_save_CFLAGS -we147 -no-gcc"else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5firm -f conftest*		CFLAGS="$cf_save_CFLAGS"		echo "$ac_t""$INTEL_COMPILER" 1>&6		;;	esacficat > conftest.$ac_ext <<EOF#line 1442 "configure"int main(int argc, char *argv[]) { return (argv[argc-1] == 0) ; }EOFif test "$INTEL_COMPILER" = yesthen# The "-wdXXX" options suppress warnings:# remark #1419: external declaration in primary source file# remark #1682: implicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem)# remark #1683: explicit conversion of a 64-bit integral type to a smaller integral type (potential portability problem)# remark #1684: conversion from pointer to same-sized integral type (potential portability problem)# remark #193: zero used for undefined preprocessing identifier# remark #593: variable "curs_sb_left_arrow" was set but never used# remark #810: conversion from "int" to "Dimension={unsigned short}" may lose significant bits# remark #869: parameter "tw" was never referenced# remark #981: operands are evaluated in unspecified order# warning #269: invalid format string conversion	echo "checking for $CC warning options" 1>&6echo "configure:1461: checking for $CC warning options" >&5	cf_save_CFLAGS="$CFLAGS"	EXTRA_CFLAGS="-Wall"	for cf_opt in  \		wd1419 \		wd1682 \		wd1683 \		wd1684 \		wd193 \		wd279 \		wd593 \		wd810 \		wd869 \		wd981	do		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"		if { (eval echo configure:1477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then			test -n "$verbose" && echo "$ac_t""... -$cf_opt" 1>&6			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"		fi	done	CFLAGS="$cf_save_CFLAGS"elif test "$GCC" = yesthen	echo "checking for $CC warning options" 1>&6echo "configure:1487: checking for $CC warning options" >&5	cf_save_CFLAGS="$CFLAGS"	EXTRA_CFLAGS="-W -Wall"	cf_warn_CONST=""	test "$with_ext_const" = yes && cf_warn_CONST="Wwrite-strings"	for cf_opt in \		Wbad-function-cast \		Wcast-align \		Wcast-qual \		Winline \		Wmissing-declarations \		Wmissing-prototypes \		Wnested-externs \		Wpointer-arith \		Wshadow \		Wstrict-prototypes \		Wundef $cf_warn_CONST 	do		CFLAGS="$cf_save_CFLAGS $EXTRA_CFLAGS -$cf_opt"		if { (eval echo configure:1506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then			test -n "$verbose" && echo "$ac_t""... -$cf_opt" 1>&6			case $cf_opt in #(vi			Wcast-qual) #(vi				CPPFLAGS="$CPPFLAGS -DXTSTRINGDEFINES"				;;			Winline) #(vi				case $GCC_VERSION in				3.3*)					test -n "$verbose" && echo "	feature is broken in gcc $GCC_VERSION" 1>&6					continue;;				esac				;;			esac			EXTRA_CFLAGS="$EXTRA_CFLAGS -$cf_opt"		fi	done	CFLAGS="$cf_save_CFLAGS"firm -f conftest*fifiecho $ac_n "checking if you want to see long compiling messages""... $ac_c" 1>&6echo "configure:1535: checking if you want to see long compiling messages" >&5# Check whether --enable-echo or --disable-echo was given.if test "${enable_echo+set}" = set; then  enableval="$enable_echo"  test "$enableval" != no && enableval=yes  if test "$enableval" != "yes" ; then        ECHO_LT='--silent'    ECHO_LD='@echo linking $@;'    RULE_CC='	@echo compiling $<'    SHOW_CC='	@echo compiling $@'    ECHO_CC='@'   else        ECHO_LT=''    ECHO_LD=''    RULE_CC='# compiling'    SHOW_CC='# compiling'    ECHO_CC=''  fielse  enableval=yes       ECHO_LT=''    ECHO_LD=''    RULE_CC='# compiling'    SHOW_CC='# compiling'    ECHO_CC=''  fiecho "$ac_t""$enableval" 1>&6echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6echo "configure:1578: checking for Cygwin environment" >&5if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1583 "configure"#include "confdefs.h"int main() {#ifndef __CYGWIN__#define __CYGWIN__ __CYGWIN32__#endifreturn __CYGWIN__;; return 0; }EOFif { (eval echo configure:1594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_cygwin=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_cygwin=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_cygwin" 1>&6CYGWIN=test "$ac_cv_cygwin" = yes && CYGWIN=yesecho $ac_n "checking for mingw32 environment""... $ac_c" 1>&6echo "configure:1611: checking for mingw32 environment" >&5if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1616 "configure"#include "confdefs.h"int main() {return __MINGW32__;; return 0; }EOFif { (eval echo configure:1623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_mingw32=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_mingw32=nofirm -f conftest*rm -f conftest*fiecho "$ac_t""$ac_cv_mingw32" 1>&6MINGW32=test "$ac_cv_mingw32" = yes && MINGW32=yescase $cf_cv_system_name inos2*)    CFLAGS="$CFLAGS -Zmt"    CPPFLAGS="$CPPFLAGS -D__ST_MT_ERRNO__"    CXXFLAGS="$CXXFLAGS -Zmt"    # autoconf's macro sets -Zexe and suffix both, which conflict:w    LDFLAGS="$LDFLAGS -Zmt -Zcrtdll"    ac_cv_exeext=.exe    ;;esacecho $ac_n "checking for executable suffix""... $ac_c" 1>&6echo "configure:1655: checking for executable suffix" >&5if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test "$CYGWIN" = yes || test "$MINGW32" = yes; then  ac_cv_exeext=.exeelse  rm -f conftest*  echo 'int main () { return 0; }' > conftest.$ac_ext  ac_cv_exeext=  if { (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    for file in conftest.*; do      case $file in      *.c | *.o | *.obj) ;;      *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;      esac    done  else    { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }  fi  rm -f conftest*  test x"${ac_cv_exeext}" = x && ac_cv_exeext=nofifiEXEEXT=""test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}echo "$ac_t""${ac_cv_exeext}" 1>&6ac_exeext=$EXEEXTecho $ac_n "checking for object suffix""... $ac_c" 1>&6echo "configure:1686: checking for object suffix" >&5if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  rm -f conftest*echo 'int i = 1;' > conftest.$ac_extif { (eval echo configure:1692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  for ac_file in conftest.*; do    case $ac_file in    *.c) ;;    *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;    esac  doneelse  { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }firm -f conftest*fiecho "$ac_t""$ac_cv_objext" 1>&6OBJEXT=$ac_cv_objextac_objext=$ac_cv_objextPROG_EXT="$EXEEXT"test -n "$PROG_EXT" && cat >> confdefs.h <<EOF#define PROG_EXT "$PROG_EXT"EOFecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:1718: checking how to run the C preprocessor" >&5# On Suns, sometimes $CPP names a directory.if test -n "$CPP" && test -d "$CPP"; then  CPP=fiif test -z "$CPP"; thenif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else    # This must be in double quotes, not single quotes, because CPP may get  # substituted into the Makefile and "${CC-cc}" will confuse make.  CPP="${CC-cc} -E"  # On the NeXT, cc -E runs the code through the compiler's parser,  # not just through cpp.  cat > conftest.$ac_ext <<EOF#line 1733 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -E -traditional-cpp"  cat > conftest.$ac_ext <<EOF#line 1750 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP="${CC-cc} -nologo -E"  cat > conftest.$ac_ext <<EOF#line 1767 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:1773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`if test -z "$ac_err"; then  :else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  CPP=/lib/cppfirm -f conftest*firm -f conftest*firm -f conftest*  ac_cv_prog_CPP="$CPP"fi  CPP="$ac_cv_prog_CPP"else  ac_cv_prog_CPP="$CPP"fiecho "$ac_t""$CPP" 1>&6echo $ac_n "checking if you want to use dmalloc for testing""... $ac_c" 1>&6echo "configure:1800: checking if you want to use dmalloc for testing" >&5# Check whether --with-dmalloc or --without-dmalloc was given.if test "${with_dmalloc+set}" = set; then  withval="$with_dmalloc"  cat >> confdefs.h <<\EOF#define USE_DMALLOC 1EOF	 	: ${with_cflags:=-g}	: ${with_no_leaks:=yes}	 with_dmalloc=yeselse  with_dmalloc=fiecho "$ac_t""${with_dmalloc:-no}" 1>&6case .$with_cflags in #(vi.*-g*)	case .$CFLAGS in #(vi	.*-g*) #(vi		;;	*)		cf_fix_cppflags=nocf_new_cflags=cf_new_cppflags=cf_new_extra_cppflags=for cf_add_cflags in -gdocase $cf_fix_cppflags inno)	case $cf_add_cflags in #(vi	-undef|-nostdinc*|-I*|-D*|-U*|-E|-P|-C) #(vi		case $cf_add_cflags in		-D*)			cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^-D[^=]*='\''\"[^"]*//'`			test "${cf_add_cflags}" != "${cf_tst_cflags}" \			&& test -z "${cf_tst_cflags}" \			&& cf_fix_cppflags=yes			if test $cf_fix_cppflags = yes ; then				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"				continue			elif test "${cf_tst_cflags}" = "\"'" ; then				cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"				continue			fi			;;		esac		case "$CPPFLAGS" in		*$cf_add_cflags) #(vi			;;		*) #(vi			cf_new_cppflags="$cf_new_cppflags $cf_add_cflags"			;;		esac		;;	*)		cf_new_cflags="$cf_new_cflags $cf_add_cflags"		;;	esac	;;yes)	cf_new_extra_cppflags="$cf_new_extra_cppflags $cf_add_cflags"	cf_tst_cflags=`echo ${cf_add_cflags} |sed -e 's/^[^"]*"'\''//'`	test "${cf_add_cflags}" != "${cf_tst_cflags}" \	&& test -z "${cf_tst_cflags}" \	&& cf_fix_cppflags=no	;;esac

⌨️ 快捷键说明

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