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

📄 aclocal.m4

📁 用C语言实现的JPEG编码
💻 M4
📖 第 1 页 / 共 5 页
字号:
#endifEOF	  # Now generate the symbol file.	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'	  cat <<EOF >> conftest.$ac_ext#if defined (__STDC__) && __STDC__# define lt_ptr void *#else# define lt_ptr char *# define const#endif/* The mapping between symbol names and symbols. */const struct {  const char *name;  lt_ptr address;}lt_preloaded_symbols[[]] ={EOF	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext	  cat <<\EOF >> conftest.$ac_ext  {0, (lt_ptr) 0}};#ifdef __cplusplus}#endifEOF	  # Now try linking the two files.	  mv conftest.$ac_objext conftstm.$ac_objext	  save_LIBS="$LIBS"	  save_CFLAGS="$CFLAGS"	  LIBS="conftstm.$ac_objext"	  CFLAGS="$CFLAGS$no_builtin_flag"	  if AC_TRY_EVAL(ac_link) && test -s conftest; then	    pipe_works=yes	  fi	  LIBS="$save_LIBS"	  CFLAGS="$save_CFLAGS"	else	  echo "cannot find nm_test_func in $nlist" >&AC_FD_CC	fi      else	echo "cannot find nm_test_var in $nlist" >&AC_FD_CC      fi    else      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AC_FD_CC    fi  else    echo "$progname: failed program was:" >&AC_FD_CC    cat conftest.$ac_ext >&5  fi  rm -f conftest* conftst*  # Do not use the global_symbol_pipe unless it works.  if test "$pipe_works" = yes; then    break  else    lt_cv_sys_global_symbol_pipe=  fidone])global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"if test -z "$lt_cv_sys_global_symbol_pipe"; then  global_symbol_to_cdecl=  global_symbol_to_c_name_address=else  global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"  global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"fiif test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";then  AC_MSG_RESULT(failed)else  AC_MSG_RESULT(ok)fi]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR# ---------------------------------AC_DEFUN([_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR],[# Find the correct PATH separator.  Usually this is `:', but# DJGPP uses `;' like DOS.if test "X${PATH_SEPARATOR+set}" != Xset; then  UNAME=${UNAME-`uname 2>/dev/null`}  case X$UNAME in    *-DOS) lt_cv_sys_path_separator=';' ;;    *)     lt_cv_sys_path_separator=':' ;;  esac  PATH_SEPARATOR=$lt_cv_sys_path_separatorfi])# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR# _LT_AC_PROG_ECHO_BACKSLASH# --------------------------# Add some code to the start of the generated configure script which# will find an echo command which doesn't interpret backslashes.AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH],[ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],			      [AC_DIVERT_PUSH(NOTICE)])_LT_AC_LIBTOOL_SYS_PATH_SEPARATOR# Check that we are running under the correct shell.SHELL=${CONFIG_SHELL-/bin/sh}case X$ECHO inX*--fallback-echo)  # Remove one level of quotation (which was required for Make).  ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`  ;;esacecho=${ECHO-echo}if test "X[$]1" = X--no-reexec; then  # Discard the --no-reexec flag, and continue.  shiftelif test "X[$]1" = X--fallback-echo; then  # Avoid inline document here, it may be left over  :elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then  # Yippee, $echo works!  :else  # Restart under the correct shell.  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}fiif test "X[$]1" = X--fallback-echo; then  # used as fallback echo  shift  cat <<EOF$*EOF  exit 0fi# The HP-UX ksh and POSIX shell print the target directory to stdout# if CDPATH is set.if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fiif test -z "$ECHO"; thenif test "X${echo_test_string+set}" != Xset; then# find a string as large as possible, as long as the shell can cope with it  for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...    if (echo_test_string="`eval $cmd`") 2>/dev/null &&       echo_test_string="`eval $cmd`" &&       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null    then      break    fi  donefiif test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&   test "X$echo_testing_string" = "X$echo_test_string"; then  :else  # The Solaris, AIX, and Digital Unix default echo programs unquote  # backslashes.  This makes it impossible to quote backslashes using  #   echo "$something" | sed 's/\\/\\\\/g'  #  # So, first we look for a working echo in the user's PATH.  IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR  for dir in $PATH /usr/ucb; do    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&       test "X$echo_testing_string" = "X$echo_test_string"; then      echo="$dir/echo"      break    fi  done  IFS="$save_ifs"  if test "X$echo" = Xecho; then    # We didn't find a better echo, so look for alternatives.    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&       test "X$echo_testing_string" = "X$echo_test_string"; then      # This shell has a builtin print -r that does the trick.      echo='print -r'    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&	 test "X$CONFIG_SHELL" != X/bin/ksh; then      # If we have ksh, try running configure again with it.      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}      export ORIGINAL_CONFIG_SHELL      CONFIG_SHELL=/bin/ksh      export CONFIG_SHELL      exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}    else      # Try using printf.      echo='printf %s\n'      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&	 test "X$echo_testing_string" = "X$echo_test_string"; then	# Cool, printf works	:      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&	   test "X$echo_testing_string" = 'X\t' &&	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&	   test "X$echo_testing_string" = "X$echo_test_string"; then	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL	export CONFIG_SHELL	SHELL="$CONFIG_SHELL"	export SHELL	echo="$CONFIG_SHELL [$]0 --fallback-echo"      elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&	   test "X$echo_testing_string" = 'X\t' &&	   echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&	   test "X$echo_testing_string" = "X$echo_test_string"; then	echo="$CONFIG_SHELL [$]0 --fallback-echo"      else	# maybe with a smaller string...	prev=:	for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null	  then	    break	  fi	  prev="$cmd"	done	if test "$prev" != 'sed 50q "[$]0"'; then	  echo_test_string=`eval $prev`	  export echo_test_string	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}	else	  # Oops.  We lost completely, so just stick with echo.	  echo=echo	fi      fi    fi  fififi# Copy echo and quote the copy suitably for passing to libtool from# the Makefile, instead of quoting the original, which is used later.ECHO=$echoif test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then   ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"fiAC_SUBST(ECHO)AC_DIVERT_POP])# _LT_AC_PROG_ECHO_BACKSLASH# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,#                           ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)# ------------------------------------------------------------------AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF],[if test "$cross_compiling" = yes; then :  [$4]else  AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2  lt_status=$lt_dlunknown  cat > conftest.$ac_ext <<EOF[#line __oline__ "configure"#include "confdefs.h"#if HAVE_DLFCN_H#include <dlfcn.h>#endif#include <stdio.h>#ifdef RTLD_GLOBAL#  define LT_DLGLOBAL		RTLD_GLOBAL#else#  ifdef DL_GLOBAL#    define LT_DLGLOBAL		DL_GLOBAL#  else#    define LT_DLGLOBAL		0#  endif#endif/* We may have to define LT_DLLAZY_OR_NOW in the command line if we   find out it does not work in some platform. */#ifndef LT_DLLAZY_OR_NOW#  ifdef RTLD_LAZY#    define LT_DLLAZY_OR_NOW		RTLD_LAZY#  else#    ifdef DL_LAZY#      define LT_DLLAZY_OR_NOW		DL_LAZY#    else#      ifdef RTLD_NOW#        define LT_DLLAZY_OR_NOW	RTLD_NOW#      else#        ifdef DL_NOW#          define LT_DLLAZY_OR_NOW	DL_NOW#        else#          define LT_DLLAZY_OR_NOW	0#        endif#      endif#    endif#  endif#endif#ifdef __cplusplusextern "C" void exit (int);#endifvoid fnord() { int i=42;}int main (){  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);  int status = $lt_dlunknown;  if (self)    {      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;      /* dlclose (self); */    }    exit (status);}]EOF  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then    (./conftest; exit; ) 2>/dev/null    lt_status=$?    case x$lt_status in      x$lt_dlno_uscore) $1 ;;      x$lt_dlneed_uscore) $2 ;;      x$lt_unknown|x*) $3 ;;    esac  else :    # compilation failed    $3  fifirm -fr conftest*])# _LT_AC_TRY_DLOPEN_SELF# AC_LIBTOOL_DLOPEN_SELF# -------------------AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF],[if test "x$enable_dlopen" != xyes; then  enable_dlopen=unknown  enable_dlopen_self=unknown  enable_dlopen_self_static=unknownelse  lt_cv_dlopen=no  lt_cv_dlopen_libs=  case $host_os in  beos*)    lt_cv_dlopen="load_add_on"    lt_cv_dlopen_libs=    lt_cv_dlopen_self=yes    ;;  cygwin* | mingw* | pw32*)    lt_cv_dlopen="LoadLibrary"    lt_cv_dlopen_libs=   ;;  *)    AC_CHECK_FUNC([shl_load],          [lt_cv_dlopen="shl_load"],      [AC_CHECK_LIB([dld], [shl_load],            [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],	[AC_CHECK_FUNC([dlopen],	      [lt_cv_dlopen="dlopen"],	  [AC_CHECK_LIB([dl], [dlopen],	        [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],	    [AC_CHECK_LIB([svld], [dlopen],	          [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],	      [AC_CHECK_LIB([dld], [dld_link],	            [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])	      ])	    ])	  ])	])      ])    ;;  esac

⌨️ 快捷键说明

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