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

📄 aclocal.m4

📁 Linux平台。一个好用的ptp传输工具。用来从相机向pc传输照片
💻 M4
📖 第 1 页 / 共 5 页
字号:
  version_type=linux  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  soname_spec='${libname}${release}${shared_ext}$major'  shlibpath_var=LD_LIBRARY_PATH  case $host_vendor in    sni)      shlibpath_overrides_runpath=no      need_lib_prefix=no      export_dynamic_flag_spec='${wl}-Blargedynsym'      runpath_var=LD_RUN_PATH      ;;    siemens)      need_lib_prefix=no      ;;    motorola)      need_lib_prefix=no      need_version=no      shlibpath_overrides_runpath=no      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'      ;;  esac  ;;sysv4*MP*)  if test -d /usr/nec ;then    version_type=linux    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'    soname_spec='$libname${shared_ext}.$major'    shlibpath_var=LD_LIBRARY_PATH  fi  ;;uts4*)  version_type=linux  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'  soname_spec='${libname}${release}${shared_ext}$major'  shlibpath_var=LD_LIBRARY_PATH  ;;*)  dynamic_linker=no  ;;esacAC_MSG_RESULT([$dynamic_linker])test "$dynamic_linker" = no && can_build_shared=no])# AC_LIBTOOL_SYS_DYNAMIC_LINKER# _LT_AC_TAGCONFIG# ----------------AC_DEFUN([_LT_AC_TAGCONFIG],[AC_ARG_WITH([tags],    [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],        [include additional configurations @<:@automatic@:>@])],    [tagnames="$withval"])if test -f "$ltmain" && test -n "$tagnames"; then  if test ! -f "${ofile}"; then    AC_MSG_WARN([output file `$ofile' does not exist])  fi  if test -z "$LTCC"; then    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"    if test -z "$LTCC"; then      AC_MSG_WARN([output file `$ofile' does not look like a libtool script])    else      AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])    fi  fi  # Extract list of available tagged configurations in $ofile.  # Note that this assumes the entire list is on one line.  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"  for tagname in $tagnames; do    IFS="$lt_save_ifs"    # Check whether tagname contains only valid characters    case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in    "") ;;    *)  AC_MSG_ERROR([invalid tag name: $tagname])	;;    esac    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null    then      AC_MSG_ERROR([tag name \"$tagname\" already exists])    fi    # Update the list of available tags.    if test -n "$tagname"; then      echo appending configuration tag \"$tagname\" to $ofile      case $tagname in      CXX)	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||	    (test "X$CXX" != "Xg++"))) ; then	  AC_LIBTOOL_LANG_CXX_CONFIG	else	  tagname=""	fi	;;      F77)	if test -n "$F77" && test "X$F77" != "Xno"; then	  AC_LIBTOOL_LANG_F77_CONFIG	else	  tagname=""	fi	;;      GCJ)	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then	  AC_LIBTOOL_LANG_GCJ_CONFIG	else	  tagname=""	fi	;;      RC)	AC_LIBTOOL_LANG_RC_CONFIG	;;      *)	AC_MSG_ERROR([Unsupported tag name: $tagname])	;;      esac      # Append the new tag name to the list of available tags.      if test -n "$tagname" ; then      available_tags="$available_tags $tagname"    fi    fi  done  IFS="$lt_save_ifs"  # Now substitute the updated list of available tags.  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then    mv "${ofile}T" "$ofile"    chmod +x "$ofile"  else    rm -f "${ofile}T"    AC_MSG_ERROR([unable to update list of available tagged configurations.])  fifi])# _LT_AC_TAGCONFIG# AC_LIBTOOL_DLOPEN# -----------------# enable checks for dlopen supportAC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])# AC_LIBTOOL_DLOPEN# AC_LIBTOOL_WIN32_DLL# --------------------# declare package support for building win32 DLLsAC_DEFUN([AC_LIBTOOL_WIN32_DLL],[AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])# AC_LIBTOOL_WIN32_DLL# AC_ENABLE_SHARED([DEFAULT])# ---------------------------# implement the --enable-shared flag# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.AC_DEFUN([AC_ENABLE_SHARED],[define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnlAC_ARG_ENABLE([shared],    [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@],	[build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])],    [p=${PACKAGE-default}    case $enableval in    yes) enable_shared=yes ;;    no) enable_shared=no ;;    *)      enable_shared=no      # Look at the argument we got.  We use all the common list separators.      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"      for pkg in $enableval; do	IFS="$lt_save_ifs"	if test "X$pkg" = "X$p"; then	  enable_shared=yes	fi      done      IFS="$lt_save_ifs"      ;;    esac],    [enable_shared=]AC_ENABLE_SHARED_DEFAULT)])# AC_ENABLE_SHARED# AC_DISABLE_SHARED# -----------------#- set the default shared flag to --disable-sharedAC_DEFUN([AC_DISABLE_SHARED],[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnlAC_ENABLE_SHARED(no)])# AC_DISABLE_SHARED# AC_ENABLE_STATIC([DEFAULT])# ---------------------------# implement the --enable-static flag# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.AC_DEFUN([AC_ENABLE_STATIC],[define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnlAC_ARG_ENABLE([static],    [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@],	[build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])],    [p=${PACKAGE-default}    case $enableval in    yes) enable_static=yes ;;    no) enable_static=no ;;    *)     enable_static=no      # Look at the argument we got.  We use all the common list separators.      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"      for pkg in $enableval; do	IFS="$lt_save_ifs"	if test "X$pkg" = "X$p"; then	  enable_static=yes	fi      done      IFS="$lt_save_ifs"      ;;    esac],    [enable_static=]AC_ENABLE_STATIC_DEFAULT)])# AC_ENABLE_STATIC# AC_DISABLE_STATIC# -----------------# set the default static flag to --disable-staticAC_DEFUN([AC_DISABLE_STATIC],[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnlAC_ENABLE_STATIC(no)])# AC_DISABLE_STATIC# AC_ENABLE_FAST_INSTALL([DEFAULT])# ---------------------------------# implement the --enable-fast-install flag# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.AC_DEFUN([AC_ENABLE_FAST_INSTALL],[define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnlAC_ARG_ENABLE([fast-install],    [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],    [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],    [p=${PACKAGE-default}    case $enableval in    yes) enable_fast_install=yes ;;    no) enable_fast_install=no ;;    *)      enable_fast_install=no      # Look at the argument we got.  We use all the common list separators.      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"      for pkg in $enableval; do	IFS="$lt_save_ifs"	if test "X$pkg" = "X$p"; then	  enable_fast_install=yes	fi      done      IFS="$lt_save_ifs"      ;;    esac],    [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT)])# AC_ENABLE_FAST_INSTALL# AC_DISABLE_FAST_INSTALL# -----------------------# set the default to --disable-fast-installAC_DEFUN([AC_DISABLE_FAST_INSTALL],[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnlAC_ENABLE_FAST_INSTALL(no)])# AC_DISABLE_FAST_INSTALL# AC_LIBTOOL_PICMODE([MODE])# --------------------------# implement the --with-pic flag# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.AC_DEFUN([AC_LIBTOOL_PICMODE],[AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnlpic_mode=ifelse($#,1,$1,default)])# AC_LIBTOOL_PICMODE# AC_PROG_EGREP# -------------# This is predefined starting with Autoconf 2.54, so this conditional# definition can be removed once we require Autoconf 2.54 or later.m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP],[AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep],   [if echo a | (grep -E '(a|b)') >/dev/null 2>&1    then ac_cv_prog_egrep='grep -E'    else ac_cv_prog_egrep='egrep'    fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP])])])# AC_PATH_TOOL_PREFIX# -------------------# find a file program which can recognise shared libraryAC_DEFUN([AC_PATH_TOOL_PREFIX],[AC_REQUIRE([AC_PROG_EGREP])dnlAC_MSG_CHECKING([for $1])AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,[case $MAGIC_CMD in[[\\/*] |  ?:[\\/]*])  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.  ;;*)  lt_save_MAGIC_CMD="$MAGIC_CMD"  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATORdnl $ac_dummy forces splitting on constant user-supplied paths.dnl POSIX.2 word splitting is done only on the output of word expansions,dnl not every word.  This closes a longstanding sh security hole.  ac_dummy="ifelse([$2], , $PATH, [$2])"  for ac_dir in $ac_dummy; do    IFS="$lt_save_ifs"    test -z "$ac_dir" && ac_dir=.    if test -f $ac_dir/$1; then      lt_cv_path_MAGIC_CMD="$ac_dir/$1"      if test -n "$file_magic_test_file"; then	case $deplibs_check_method in	"file_magic "*)	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |	    $EGREP "$file_magic_regex" > /dev/null; then	    :	  else	    cat <<EOF 1>&2*** Warning: the command libtool uses to detect shared libraries,*** $file_magic_cmd, produces output that libtool cannot recognize.*** The result is that libtool may fail to recognize shared libraries*** as such.  This will affect the creation of libtool libraries that*** depend on shared libraries, but programs linked with such libtool*** libraries will work regardless of this problem.  Nevertheless, you*** may want to report the problem to your system manager and/or to*** bug-libtool@gnu.orgEOF	  fi ;;	esac      fi      break    fi  done  IFS="$lt_save_ifs"  MAGIC_CMD="$lt_save_MAGIC_CMD"  ;;esac])MAGIC_CMD="$lt_cv_path_MAGIC_CMD"if test -n "$MAGIC_CMD"; then  AC_MSG_RESULT($MAGIC_CMD)else  AC_MSG_RESULT(no)fi])# AC_PATH_TOOL_PREFIX# AC_PATH_MAGIC# -------------# find a file program which can recognise a shared libraryAC_DEFUN([AC_PATH_MAGIC],[AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)if test -z "$lt_cv_path_MAGIC_CMD"; then  if test -n "$ac_tool_prefix"; then    AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)  else    MAGIC_CMD=:  fifi])# AC_PATH_MAGIC# AC_PROG_LD# ----------# find the pathname to the GNU or non-GNU linkerAC_DEFUN([AC_PROG_LD],[AC_ARG_WITH([gnu-ld],    [AC_HELP_STRING([--with-gnu-ld],	[assume the C compiler uses GNU ld @<:@default=no@:>@])],    [test "$withval" = no || with_gnu_ld=yes],    [with_gnu_ld=no])AC_REQUIRE([LT_AC_PROG_SED])dnlAC_REQUIRE([AC_PROG_CC])dnlAC_REQUIRE([AC_CANONICAL_HOST])dnlAC_REQUIRE([AC_CANONICAL_BUILD])dnlac_prog=ldif test "$GCC" = yes; then  # Check if gcc -print-prog-name=ld gives a path.  AC_MSG_CHECKING([for ld used by $CC])  case $host in  *-*-mingw*)    # gcc leaves a trailing carriage return which upsets mingw    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;  *)    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;  esac  case $ac_prog in    # Accept absolute paths.    [[\\/]]* | ?:[[\\/]]*)      re_direlt='/[[^/]][[^/]]*/\.\./'      # C

⌨️ 快捷键说明

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