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

📄 aclocal.m4

📁 在Linux下实现magnification功能
💻 M4
📖 第 1 页 / 共 5 页
字号:
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,# 2005  Free Software Foundation, Inc.# This file is free software; the Free Software Foundation# gives unlimited permission to copy and/or distribute it,# with or without modifications, as long as this notice is preserved.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY, to the extent permitted by law; without# even the implied warranty of MERCHANTABILITY or FITNESS FOR A# PARTICULAR PURPOSE.dnl GNOME_COMPILE_WARNINGSdnl Turn on many useful compiler warningsdnl For now, only works on GCCAC_DEFUN([GNOME_COMPILE_WARNINGS],[    dnl ******************************    dnl More compiler warnings    dnl ******************************    AC_ARG_ENABLE(compile-warnings,                   AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],                                 [Turn on compiler warnings]),,                  [enable_compile_warnings="m4_default([$1],[yes])"])    warnCFLAGS=    if test "x$GCC" != xyes; then	enable_compile_warnings=no    fi    warning_flags=    realsave_CFLAGS="$CFLAGS"    case "$enable_compile_warnings" in    no)	warning_flags=	;;    minimum)	warning_flags="-Wall"	;;    yes)	warning_flags="-Wall -Wmissing-prototypes"	;;    maximum|error)	warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"	CFLAGS="$warning_flags $CFLAGS"	for option in -Wno-sign-compare; do		SAVE_CFLAGS="$CFLAGS"		CFLAGS="$CFLAGS $option"		AC_MSG_CHECKING([whether gcc understands $option])		AC_TRY_COMPILE([], [],			has_option=yes,			has_option=no,)		CFLAGS="$SAVE_CFLAGS"		AC_MSG_RESULT($has_option)		if test $has_option = yes; then		  warning_flags="$warning_flags $option"		fi		unset has_option		unset SAVE_CFLAGS	done	unset option	if test "$enable_compile_warnings" = "error" ; then	    warning_flags="$warning_flags -Werror"	fi	;;    *)	AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)	;;    esac    CFLAGS="$realsave_CFLAGS"    AC_MSG_CHECKING(what warning flags to pass to the C compiler)    AC_MSG_RESULT($warning_flags)    AC_ARG_ENABLE(iso-c,                  AC_HELP_STRING([--enable-iso-c],                                 [Try to warn if code is not ISO C ]),,                  [enable_iso_c=no])    AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)    complCFLAGS=    if test "x$enable_iso_c" != "xno"; then	if test "x$GCC" = "xyes"; then	case " $CFLAGS " in	    *[\ \	]-ansi[\ \	]*) ;;	    *) complCFLAGS="$complCFLAGS -ansi" ;;	esac	case " $CFLAGS " in	    *[\ \	]-pedantic[\ \	]*) ;;	    *) complCFLAGS="$complCFLAGS -pedantic" ;;	esac	fi    fi    AC_MSG_RESULT($complCFLAGS)    WARN_CFLAGS="$warning_flags $complCFLAGS"    AC_SUBST(WARN_CFLAGS)])dnl For C++, do basically the same thing.AC_DEFUN([GNOME_CXX_WARNINGS],[  AC_ARG_ENABLE(cxx-warnings,                AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]                               [Turn on compiler warnings.]),,                [enable_cxx_warnings="m4_default([$1],[minimum])"])  AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)  warnCXXFLAGS=  if test "x$GCC" != xyes; then    enable_compile_warnings=no  fi  if test "x$enable_cxx_warnings" != "xno"; then    if test "x$GCC" = "xyes"; then      case " $CXXFLAGS " in      *[\ \	]-Wall[\ \	]*) ;;      *) warnCXXFLAGS="-Wall -Wno-unused" ;;      esac      ## -W is not all that useful.  And it cannot be controlled      ## with individual -Wno-xxx flags, unlike -Wall      if test "x$enable_cxx_warnings" = "xyes"; then	warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"      fi    fi  fi  AC_MSG_RESULT($warnCXXFLAGS)   AC_ARG_ENABLE(iso-cxx,                 AC_HELP_STRING([--enable-iso-cxx],                                [Try to warn if code is not ISO C++ ]),,                 [enable_iso_cxx=no])   AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)   complCXXFLAGS=   if test "x$enable_iso_cxx" != "xno"; then     if test "x$GCC" = "xyes"; then      case " $CXXFLAGS " in      *[\ \	]-ansi[\ \	]*) ;;      *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;      esac      case " $CXXFLAGS " in      *[\ \	]-pedantic[\ \	]*) ;;      *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;      esac     fi   fi  AC_MSG_RESULT($complCXXFLAGS)  WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"  AC_SUBST(WARN_CXXFLAGS)])# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-# serial 48 AC_PROG_LIBTOOL# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)# -----------------------------------------------------------# If this macro is not defined by Autoconf, define it here.m4_ifdef([AC_PROVIDE_IFELSE],         [],         [m4_define([AC_PROVIDE_IFELSE],	         [m4_ifdef([AC_PROVIDE_$1],		           [$2], [$3])])])# AC_PROG_LIBTOOL# ---------------AC_DEFUN([AC_PROG_LIBTOOL],[AC_REQUIRE([_AC_PROG_LIBTOOL])dnldnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXXdnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.  AC_PROVIDE_IFELSE([AC_PROG_CXX],    [AC_LIBTOOL_CXX],    [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX  ])])dnl And a similar setup for Fortran 77 support  AC_PROVIDE_IFELSE([AC_PROG_F77],    [AC_LIBTOOL_F77],    [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77])])dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, rundnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.  AC_PROVIDE_IFELSE([AC_PROG_GCJ],    [AC_LIBTOOL_GCJ],    [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],      [AC_LIBTOOL_GCJ],      [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],	[AC_LIBTOOL_GCJ],      [ifdef([AC_PROG_GCJ],	     [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])       ifdef([A][M_PROG_GCJ],	     [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])       ifdef([LT_AC_PROG_GCJ],	     [define([LT_AC_PROG_GCJ],		defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])])])# AC_PROG_LIBTOOL# _AC_PROG_LIBTOOL# ----------------AC_DEFUN([_AC_PROG_LIBTOOL],[AC_REQUIRE([AC_LIBTOOL_SETUP])dnlAC_BEFORE([$0],[AC_LIBTOOL_CXX])dnlAC_BEFORE([$0],[AC_LIBTOOL_F77])dnlAC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl# This can be used to rebuild libtool when neededLIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"# Always use our own libtool.LIBTOOL='$(SHELL) $(top_builddir)/libtool'AC_SUBST(LIBTOOL)dnl# Prevent multiple expansiondefine([AC_PROG_LIBTOOL], [])])# _AC_PROG_LIBTOOL# AC_LIBTOOL_SETUP# ----------------AC_DEFUN([AC_LIBTOOL_SETUP],[AC_PREREQ(2.50)dnlAC_REQUIRE([AC_ENABLE_SHARED])dnlAC_REQUIRE([AC_ENABLE_STATIC])dnlAC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnlAC_REQUIRE([AC_CANONICAL_HOST])dnlAC_REQUIRE([AC_CANONICAL_BUILD])dnlAC_REQUIRE([AC_PROG_CC])dnlAC_REQUIRE([AC_PROG_LD])dnlAC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnlAC_REQUIRE([AC_PROG_NM])dnlAC_REQUIRE([AC_PROG_LN_S])dnlAC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!AC_REQUIRE([AC_OBJEXT])dnlAC_REQUIRE([AC_EXEEXT])dnldnlAC_LIBTOOL_SYS_MAX_CMD_LENAC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPEAC_LIBTOOL_OBJDIRAC_REQUIRE([_LT_AC_SYS_COMPILER])dnl_LT_AC_PROG_ECHO_BACKSLASHcase $host_os inaix3*)  # AIX sometimes has problems with the GCC collect2 program.  For some  # reason, if we set the COLLECT_NAMES environment variable, the problems  # vanish in a puff of smoke.  if test "X${COLLECT_NAMES+set}" != Xset; then    COLLECT_NAMES=    export COLLECT_NAMES  fi  ;;esac# Sed substitution that helps us do robust quoting.  It backslashifies# metacharacters that are still active within double-quoted strings.Xsed='sed -e 1s/^X//'[sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g']# Same as above, but do not quote variable references.[double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g']# Sed substitution to delay expansion of an escaped shell variable in a# double_quote_subst'ed string.delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'# Sed substitution to avoid accidental globbing in evaled expressionsno_glob_subst='s/\*/\\\*/g'# Constants:rm="rm -f"# Global variables:default_ofile=libtoolcan_build_shared=yes# All known linkers require a `.a' archive for static linking (except MSVC,# which needs '.lib').libext=altmain="$ac_aux_dir/ltmain.sh"ofile="$default_ofile"with_gnu_ld="$lt_cv_prog_gnu_ld"AC_CHECK_TOOL(AR, ar, false)AC_CHECK_TOOL(RANLIB, ranlib, :)AC_CHECK_TOOL(STRIP, strip, :)old_CC="$CC"old_CFLAGS="$CFLAGS"# Set sane defaults for various variablestest -z "$AR" && AR=artest -z "$AR_FLAGS" && AR_FLAGS=crutest -z "$AS" && AS=astest -z "$CC" && CC=cctest -z "$LTCC" && LTCC=$CCtest -z "$LTCFLAGS" && LTCFLAGS=$CFLAGStest -z "$DLLTOOL" && DLLTOOL=dlltooltest -z "$LD" && LD=ldtest -z "$LN_S" && LN_S="ln -s"test -z "$MAGIC_CMD" && MAGIC_CMD=filetest -z "$NM" && NM=nmtest -z "$SED" && SED=sedtest -z "$OBJDUMP" && OBJDUMP=objdumptest -z "$RANLIB" && RANLIB=:test -z "$STRIP" && STRIP=:test -z "$ac_objext" && ac_objext=o# Determine commands to create old-style static archives.old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'old_postinstall_cmds='chmod 644 $oldlib'old_postuninstall_cmds=if test -n "$RANLIB"; then  case $host_os in  openbsd*)    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"    ;;  *)    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"    ;;  esac  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"fi_LT_CC_BASENAME([$compiler])# Only perform the check for file, if the check method requires itcase $deplibs_check_method infile_magic*)  if test "$file_magic_cmd" = '$MAGIC_CMD'; then    AC_PATH_MAGIC  fi  ;;esacAC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],enable_win32_dll=yes, enable_win32_dll=no)AC_ARG_ENABLE([libtool-lock],    [AC_HELP_STRING([--disable-libtool-lock],	[avoid locking (might break parallel builds)])])test "x$enable_libtool_lock" != xno && enable_libtool_lock=yesAC_ARG_WITH([pic],    [AC_HELP_STRING([--with-pic],	[try to use only PIC/non-PIC objects @<:@default=use both@:>@])],    [pic_mode="$withval"],    [pic_mode=default])test -z "$pic_mode" && pic_mode=default# Use C for the default configuration in the libtool scripttagname=AC_LIBTOOL_LANG_C_CONFIG_LT_AC_TAGCONFIG])# AC_LIBTOOL_SETUP# _LT_AC_SYS_COMPILER# -------------------AC_DEFUN([_LT_AC_SYS_COMPILER],[AC_REQUIRE([AC_PROG_CC])dnl# If no C compiler was specified, use CC.LTCC=${LTCC-"$CC"}# If no C compiler flags were specified, use CFLAGS.LTCFLAGS=${LTCFLAGS-"$CFLAGS"}# Allow CC to be a program name with arguments.compiler=$CC])# _LT_AC_SYS_COMPILER# _LT_CC_BASENAME(CC)# -------------------# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.AC_DEFUN([_LT_CC_BASENAME],[for cc_temp in $1""; do  case $cc_temp in    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;    \-*) ;;    *) break;;  esacdonecc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`])# _LT_COMPILER_BOILERPLATE# ------------------------# Check for compiler boilerplate output or warnings with# the simple compiler test code.AC_DEFUN([_LT_COMPILER_BOILERPLATE],[ac_outfile=conftest.$ac_objextprintf "$lt_simple_compile_test_code" >conftest.$ac_exteval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err_lt_compiler_boilerplate=`cat conftest.err`$rm conftest*])# _LT_COMPILER_BOILERPLATE# _LT_LINKER_BOILERPLATE

⌨️ 快捷键说明

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