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

📄 configure

📁 优化后的JIF/JPEG压缩文件解码器
💻
📖 第 1 页 / 共 4 页
字号:
fifor ac_site_file in $CONFIG_SITE; do  if test -r "$ac_site_file"; then    echo "loading site script $ac_site_file"    . "$ac_site_file"  fidoneac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crossif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then    ac_n= ac_c='' ac_t='	'  else    ac_n=-n ac_c= ac_t=  fielse  ac_n= ac_c='\c' ac_t=fi# Extract the first word of "gcc", so it can be a program name with args.set dummy gcc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:538: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"  for ac_dir in $PATH; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      ac_cv_prog_CC="gcc"      break    fi  done  IFS="$ac_save_ifs"fifiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fiif test -z "$CC"; then  # Extract the first word of "cc", so it can be a program name with args.set dummy cc; ac_word=$2echo $ac_n "checking for $ac_word""... $ac_c" 1>&6echo "configure:567: checking for $ac_word" >&5if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  if test -n "$CC"; then  ac_cv_prog_CC="$CC" # Let the user override the test.else  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"  ac_prog_rejected=no  for ac_dir in $PATH; do    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$ac_word; then      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then        ac_prog_rejected=yes	continue      fi      ac_cv_prog_CC="cc"      break    fi  done  IFS="$ac_save_ifs"if test $ac_prog_rejected = yes; then  # We found a bogon in the path, so make sure we never use it.  set dummy $ac_cv_prog_CC  shift  if test $# -gt 0; then    # We chose a different compiler from the bogus one.    # However, it has the same basename, so the bogon will be chosen    # first if we set CC to just the basename; use the full file name.    shift    set dummy "$ac_dir/$ac_word" "$@"    shift    ac_cv_prog_CC="$@"  fifififiCC="$ac_cv_prog_CC"if test -n "$CC"; then  echo "$ac_t""$CC" 1>&6else  echo "$ac_t""no" 1>&6fi  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6echo "configure:615: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5ac_ext=c# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.ac_cpp='$CPP $CPPFLAGS'ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'cross_compiling=$ac_cv_prog_cc_crosscat > conftest.$ac_ext <<EOF#line 625 "configure"#include "confdefs.h"main(){return(0);}EOFif { (eval echo configure:629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then  ac_cv_prog_cc_works=yes  # If we can't run a trivial program, we are probably using a cross compiler.  if (./conftest; exit) 2>/dev/null; then    ac_cv_prog_cc_cross=no  else    ac_cv_prog_cc_cross=yes  fielse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  ac_cv_prog_cc_works=nofirm -fr conftest*echo "$ac_t""$ac_cv_prog_cc_works" 1>&6if test $ac_cv_prog_cc_works = no; then  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }fiecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6echo "configure:649: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6cross_compiling=$ac_cv_prog_cc_crossecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6echo "configure:654: checking whether we are using GNU C" >&5if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.c <<EOF#ifdef __GNUC__  yes;#endifEOFif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  ac_cv_prog_gcc=yeselse  ac_cv_prog_gcc=nofifiecho "$ac_t""$ac_cv_prog_gcc" 1>&6if test $ac_cv_prog_gcc = yes; then  GCC=yes  test "${CFLAGS+set}" = set || CFLAGS="-O2"else  GCC=  test "${CFLAGS+set}" = set || CFLAGS="-O"fiecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6echo "configure:681: 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 696 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`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 713 "configure"#include "confdefs.h"#include <assert.h>Syntax ErrorEOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`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*  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 for function prototypes""... $ac_c" 1>&6echo "configure:742: checking for function prototypes" >&5if eval "test \"`echo '$''{'ijg_cv_have_prototypes'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 747 "configure"#include "confdefs.h"int testfunction (int arg1, int * arg2); /* check prototypes */struct methods_struct {		/* check method-pointer declarations */  int (*error_exit) (char *msgtext);  int (*trace_message) (char *msgtext);  int (*another_method) (void);};int testfunction (int arg1, int * arg2) /* check definitions */{ return arg2[arg1]; }int test2function (void)	/* check void arg list */{ return 0; }int main() { ; return 0; }EOFif { (eval echo configure:765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ijg_cv_have_prototypes=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ijg_cv_have_prototypes=nofirm -f conftest*fiecho "$ac_t""$ijg_cv_have_prototypes" 1>&6if test $ijg_cv_have_prototypes = yes; then  cat >> confdefs.h <<\EOF#define HAVE_PROTOTYPES EOFelse  echo Your compiler does not seem to know about function prototypes.  echo Perhaps it needs a special switch to enable ANSI C mode.  echo If so, we recommend running configure like this:  echo "   ./configure  CC='cc -switch'"  echo where -switch is the proper switch.fiac_safe=`echo "stddef.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for stddef.h""... $ac_c" 1>&6echo "configure:792: checking for stddef.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 797 "configure"#include "confdefs.h"#include <stddef.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:802: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define HAVE_STDDEF_H EOFelse  echo "$ac_t""no" 1>&6fiac_safe=`echo "stdlib.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6echo "configure:828: checking for stdlib.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 833 "configure"#include "confdefs.h"#include <stdlib.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define HAVE_STDLIB_H EOFelse  echo "$ac_t""no" 1>&6fiac_safe=`echo "string.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for string.h""... $ac_c" 1>&6echo "configure:864: checking for string.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 869 "configure"#include "confdefs.h"#include <string.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  :else  echo "$ac_t""no" 1>&6cat >> confdefs.h <<\EOF#define NEED_BSD_STRINGS EOFfiecho $ac_n "checking for size_t""... $ac_c" 1>&6echo "configure:900: checking for size_t" >&5cat > conftest.$ac_ext <<EOF#line 902 "configure"#include "confdefs.h"#ifdef HAVE_STDDEF_H#include <stddef.h>#endif#ifdef HAVE_STDLIB_H#include <stdlib.h>#endif#include <stdio.h>#ifdef NEED_BSD_STRINGS#include <strings.h>#else#include <string.h>#endiftypedef size_t my_size_t;int main() { my_size_t foovar; ; return 0; }EOFif { (eval echo configure:923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ijg_size_t_ok=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ijg_size_t_ok="not ANSI, perhaps it is in sys/types.h"firm -f conftest*echo "$ac_t""$ijg_size_t_ok" 1>&6if test "$ijg_size_t_ok" != yes; thenac_safe=`echo "sys/types.h" | sed 'y%./+-%__p_%'`echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6echo "configure:937: checking for sys/types.h" >&5if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 942 "configure"#include "confdefs.h"#include <sys/types.h>EOFac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"{ (eval echo configure:947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }ac_err=`grep -v '^ *+' conftest.out`if test -z "$ac_err"; then  rm -rf conftest*  eval "ac_cv_header_$ac_safe=yes"else  echo "$ac_err" >&5  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  eval "ac_cv_header_$ac_safe=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then  echo "$ac_t""yes" 1>&6  cat >> confdefs.h <<\EOF#define NEED_SYS_TYPES_H EOFcat > conftest.$ac_ext <<EOF#line 968 "configure"#include "confdefs.h"#include <sys/types.h>EOFif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  egrep "size_t" >/dev/null 2>&1; then  rm -rf conftest*  ijg_size_t_ok="size_t is in sys/types.h"else  rm -rf conftest*  ijg_size_t_ok=nofirm -f conftest*else  echo "$ac_t""no" 1>&6ijg_size_t_ok=nofiecho "$ac_t""$ijg_size_t_ok" 1>&6if test "$ijg_size_t_ok" = no; then  echo Type size_t is not defined in any of the usual places.  echo Try putting '"typedef unsigned int size_t;"' in jconfig.h.fifiecho $ac_n "checking for type unsigned char""... $ac_c" 1>&6echo "configure:994: checking for type unsigned char" >&5cat > conftest.$ac_ext <<EOF#line 996 "configure"#include "confdefs.h"int main() { unsigned char un_char; ; return 0; }EOFif { (eval echo configure:1003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  echo "$ac_t""yes" 1>&6cat >> confdefs.h <<\EOF#define HAVE_UNSIGNED_CHAR 

⌨️ 快捷键说明

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