?? configure
字號(hào):
#endif; return 0; }EOFif eval $ac_compile; then rm -rf conftest* {test -n "$verbose" && \echo " defining" CRAY_STACKSEG_END to be "GETB67"echo "#define" CRAY_STACKSEG_END "GETB67" >> confdefs.hDEFS="$DEFS -DCRAY_STACKSEG_END=GETB67"ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}GETB67\${ac_dD}\${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}GETB67\${ac_uD}\${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}GETB67\${ac_eD}"}else rm -rf conftest* test -n "$silent" || echo "checking for getb67"cat > conftest.${ac_ext} <<EOF#include "confdefs.h"#include <ctype.h>int main() { return 0; }int t() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */#if defined (__stub_getb67) || defined (__stub___getb67)choke me#else/* Override any gcc2 internal prototype to avoid an error. */extern char getb67(); getb67();#endif; return 0; }EOFif eval $ac_compile; then rm -rf conftest* {test -n "$verbose" && \echo " defining" CRAY_STACKSEG_END to be "getb67"echo "#define" CRAY_STACKSEG_END "getb67" >> confdefs.hDEFS="$DEFS -DCRAY_STACKSEG_END=getb67"ac_sed_defs="${ac_sed_defs}\${ac_dA}CRAY_STACKSEG_END\${ac_dB}CRAY_STACKSEG_END\${ac_dC}getb67\${ac_dD}\${ac_uA}CRAY_STACKSEG_END\${ac_uB}CRAY_STACKSEG_END\${ac_uC}getb67\${ac_uD}\${ac_eA}CRAY_STACKSEG_END\${ac_eB}CRAY_STACKSEG_END\${ac_eC}getb67\${ac_eD}"}firm -f conftest*firm -f conftest*firm -f conftest*firm -f conftest*firm -f conftest*if test -n "$ac_alloca_missing"; then # The SVR3 libPW and SVR4 libucb both contain incompatible functions # that cause trouble. Some versions do not even contain alloca or # contain a buggy version. If you still want to use their alloca, # use ar to extract alloca.o from them instead of compiling alloca.c. ALLOCA=alloca.o {test -n "$verbose" && \echo " defining C_ALLOCA"echo "#define" C_ALLOCA "1" >> confdefs.hDEFS="$DEFS -DC_ALLOCA=1"ac_sed_defs="${ac_sed_defs}\${ac_dA}C_ALLOCA\${ac_dB}C_ALLOCA\${ac_dC}1\${ac_dD}\${ac_uA}C_ALLOCA\${ac_uB}C_ALLOCA\${ac_uC}1\${ac_uD}\${ac_eA}C_ALLOCA\${ac_eB}C_ALLOCA\${ac_eC}1\${ac_eD}"} test -n "$silent" || echo "checking stack direction for C alloca" test -n "$silent" || echo "checking whether cross-compiling"# If we cannot run a trivial program, we must be cross compiling.cat > conftest.${ac_ext} <<EOF#include "confdefs.h"main(){exit(0);}EOFeval $ac_compileif test -s conftest && (./conftest; exit) 2>/dev/null; then :else cross_compiling=1firm -fr conftest*if test -n "$cross_compiling"then {test -n "$verbose" && \echo " defining" STACK_DIRECTION to be "0"echo "#define" STACK_DIRECTION "0" >> confdefs.hDEFS="$DEFS -DSTACK_DIRECTION=0"ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}0\${ac_dD}\${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}0\${ac_uD}\${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}0\${ac_eD}"}elsecat > conftest.${ac_ext} <<EOF#include "confdefs.h"find_stack_direction (){ static char *addr = 0; auto char dummy; if (addr == 0) { addr = &dummy; return find_stack_direction (); } else return (&dummy > addr) ? 1 : -1;}main (){ exit (find_stack_direction() < 0);}EOFeval $ac_compileif test -s conftest && (./conftest; exit) 2>/dev/null; then {test -n "$verbose" && \echo " defining" STACK_DIRECTION to be "1"echo "#define" STACK_DIRECTION "1" >> confdefs.hDEFS="$DEFS -DSTACK_DIRECTION=1"ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}1\${ac_dD}\${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}1\${ac_uD}\${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}1\${ac_eD}"}else {test -n "$verbose" && \echo " defining" STACK_DIRECTION to be "-1"echo "#define" STACK_DIRECTION "-1" >> confdefs.hDEFS="$DEFS -DSTACK_DIRECTION=-1"ac_sed_defs="${ac_sed_defs}\${ac_dA}STACK_DIRECTION\${ac_dB}STACK_DIRECTION\${ac_dC}-1\${ac_dD}\${ac_uA}STACK_DIRECTION\${ac_uB}STACK_DIRECTION\${ac_uC}-1\${ac_uD}\${ac_eA}STACK_DIRECTION\${ac_eB}STACK_DIRECTION\${ac_eC}-1\${ac_eD}"}fifirm -fr conftest*fi# The preferred way to propogate these variables is regular @ substitutions.if test -n "$prefix"; then ac_prsub="s%^prefix\\([ ]*\\)=\\([ ]*\\).*$%prefix\\1=\\2$prefix%"else prefix=/usr/localfiif test -n "$exec_prefix"; then ac_prsub="$ac_prsubs%^exec_prefix\\([ ]*\\)=\\([ ]*\\).*$%exec_prefix\\1=\\2$exec_prefix%"else exec_prefix='${prefix}' # Let make expand it.fi# Any assignment to VPATH causes Sun make to only execute# the first set of double-colon rules, so remove it if not needed.# If there is a colon in the path, we need to keep it.if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'fi# Quote sed substitution magic chars in DEFS.cat >conftest.def <<EOF$DEFSEOFac_escape_ampersand_and_backslash='s%[&\\]%\\&%g'DEFS=`sed "$ac_escape_ampersand_and_backslash" <conftest.def`rm -f conftest.def# Substitute for predefined variables.trap 'rm -f config.status; exit 1' 1 2 15echo creating config.statusrm -f config.statuscat > config.status <<EOF#!/bin/sh# Generated automatically by configure.# Run this file to recreate the current configuration.# This directory was configured as follows,# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:## $0 $configure_argsac_cs_usage="Usage: config.status [--recheck] [--version] [--help]"for ac_optiondo case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) echo "config.status generated by autoconf version 1.11" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; *) echo "\$ac_cs_usage"; exit 1 ;; esacdonetrap 'rm -fr Makefile config.h conftest*; exit 1' 1 2 15CC='$CC'CFLAGS='$CFLAGS'LDFLAGS='$LDFLAGS'CPP='$CPP'INSTALL='$INSTALL'INSTALL_PROGRAM='$INSTALL_PROGRAM'INSTALL_DATA='$INSTALL_DATA'RANLIB='$RANLIB'ALLOCA='$ALLOCA'LIBS='$LIBS'srcdir='$srcdir'top_srcdir='$top_srcdir'prefix='$prefix'exec_prefix='$exec_prefix'ac_prsub='$ac_prsub'ac_vpsub='$ac_vpsub'extrasub='$extrasub'EOFcat >> config.status <<\EOFac_given_srcdir=$srcdirCONFIG_FILES=${CONFIG_FILES-"Makefile"}for ac_file in .. ${CONFIG_FILES}; do if test "x$ac_file" != x..; then # Remove last slash and all that follows it. Not all systems have dirname. ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then # The file is in a subdirectory. test ! -d "$ac_dir" && mkdir "$ac_dir" ac_dir_suffix="/$ac_dir" else ac_dir_suffix= fi # A "../" for each directory in $ac_dir_suffix. ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` case "$ac_given_srcdir" in .) srcdir=. if test -z "$ac_dir_suffix"; then top_srcdir=. else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; *) # Relative path. srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" top_srcdir="$ac_dots$ac_given_srcdir" ;; esac echo creating "$ac_file" rm -f "$ac_file" comment_str="Generated automatically from `echo $ac_file|sed 's|.*/||'`.in by configure." case "$ac_file" in *.c | *.h | *.C | *.cc | *.m ) echo "/* $comment_str */" > "$ac_file" ;; * ) echo "# $comment_str" > "$ac_file" ;; esac sed -e "$ac_prsub$ac_vpsub$extrasubs%@CC@%$CC%gs%@CFLAGS@%$CFLAGS%gs%@LDFLAGS@%$LDFLAGS%gs%@CPP@%$CPP%gs%@INSTALL@%$INSTALL%gs%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%gs%@INSTALL_DATA@%$INSTALL_DATA%gs%@RANLIB@%$RANLIB%gs%@ALLOCA@%$ALLOCA%gs%@LIBS@%$LIBS%gs%@srcdir@%$srcdir%gs%@top_srcdir@%$top_srcdir%gs%@prefix@%$prefix%gs%@exec_prefix@%$exec_prefix%gs%@DEFS@%-DHAVE_CONFIG_H%" $ac_given_srcdir/${ac_file}.in >> $ac_filefi; done# These sed commands are put into ac_sed_defs when defining a macro.# They are broken into pieces to make the sed script easier to manage.# They are passed to sed as "A NAME B NAME C VALUE D", where NAME# is the cpp macro being defined and VALUE is the value it is being given.# Each defining turns into a single global substitution command.# Hopefully no one uses "!" as a variable value.# Other candidates for the sed separators, like , and @, do get used.## ac_d sets the value in "#define NAME VALUE" lines.ac_dA='s!^\([ ]*\)#\([ ]*define[ ][ ]*\)'ac_dB='\([ ][ ]*\)[^ ]*!\1#\2'ac_dC='\3'ac_dD='!g'# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".ac_uA='s!^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'ac_uB='\([ ]\)!\1#\2define\3'ac_uC=' 'ac_uD='\4!g'# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".ac_eA='s!^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'ac_eB='$!\1#\2define\3'ac_eC=' 'ac_eD='!g'rm -f conftest.sedEOF# Turn off quoting long enough to insert the sed commands.rm -f conftest.shcat > conftest.sh <<EOF$ac_sed_defsEOF# Break up $ac_sed_defs (now in conftest.sh) because some shells have a limit# on the size of here documents.# Maximum number of lines to put in a single here document.ac_max_sh_lines=9while :do # wc gives bogus results for an empty file on some AIX systems. ac_lines=`grep -c . conftest.sh` if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi rm -f conftest.s1 conftest.s2 sed ${ac_max_sh_lines}q conftest.sh > conftest.s1 # Like head -9. sed 1,${ac_max_sh_lines}d conftest.sh > conftest.s2 # Like tail +10. # Write a limited-size here document to append to conftest.sed. echo 'cat >> conftest.sed <<CONFEOF' >> config.status cat conftest.s1 >> config.status echo 'CONFEOF' >> config.status rm -f conftest.s1 conftest.sh mv conftest.s2 conftest.shdonerm -f conftest.sh# Now back to your regularly scheduled config.status.cat >> config.status <<\EOF# This sed command replaces #undef's with comments. This is necessary, for# example, in the case of _POSIX_SOURCE, which is predefined and required# on some systems where configure will not decide to define it in# config.h.cat >> conftest.sed <<\CONFEOFs,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,CONFEOFrm -f conftest.h# Break up the sed commands because old seds have small limits.ac_max_sed_lines=20CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}for ac_file in .. ${CONFIG_HEADERS}; do if test "x$ac_file" != x..; then echo creating $ac_file cp $ac_given_srcdir/$ac_file.in conftest.h1 cp conftest.sed conftest.stm while : do ac_lines=`grep -c . conftest.stm` if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi rm -f conftest.s1 conftest.s2 conftest.h2 sed ${ac_max_sed_lines}q conftest.stm > conftest.s1 # Like head -20. sed 1,${ac_max_sed_lines}d conftest.stm > conftest.s2 # Like tail +21. sed -f conftest.s1 < conftest.h1 > conftest.h2 rm -f conftest.s1 conftest.h1 conftest.stm mv conftest.h2 conftest.h1 mv conftest.s2 conftest.stm done rm -f conftest.stm conftest.h echo "/* $ac_file. Generated automatically by configure. */" > conftest.h cat conftest.h1 >> conftest.h rm -f conftest.h1 if cmp -s $ac_file conftest.h 2>/dev/null; then # The file exists and we would not be changing it. echo "$ac_file is unchanged" rm -f conftest.h else rm -f $ac_file mv conftest.h $ac_file fifi; donerm -f conftest.sed# Makefile uses this timestamp file to record whether config.h is up to date.touch stamp-configexit 0EOFchmod +x config.status# Some shells look in PATH for config.status without the "./".test -n "$no_create" || ${CONFIG_SHELL-/bin/sh} ./config.status
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -