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

📄 aclocal.m4

📁 linux下的FFT 频谱分析
💻 M4
📖 第 1 页 / 共 4 页
字号:
# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 5AC_PREREQ(2.52)# AM_CONDITIONAL(NAME, SHELL-CONDITION)# -------------------------------------# Define a conditional.AC_DEFUN([AM_CONDITIONAL],[ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],        [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnlAC_SUBST([$1_TRUE])AC_SUBST([$1_FALSE])if $2; then  $1_TRUE=  $1_FALSE='#'else  $1_TRUE='#'  $1_FALSE=fiAC_CONFIG_COMMANDS_PRE([if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then  AC_MSG_ERROR([conditional \"$1\" was never defined.Usually this means the macro was only invoked conditionally.])fi])])# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-# Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.AC_PREREQ([2.52])# serial 6# When config.status generates a header, we must update the stamp-h file.# This file resides in the same directory as the config header# that is generated.  We must strip everything past the first ":",# and everything past the last "/".# _AM_DIRNAME(PATH)# -----------------# Like AS_DIRNAME, only do it during macro expansionAC_DEFUN([_AM_DIRNAME],       [m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,	      m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,		    m4_if(regexp([$1], [^/.*]), -1,			  [.],			  patsubst([$1], [^\(/\).*], [\1])),		    patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),	      patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl])# _AM_DIRNAME# The stamp files are numbered to have different names.# We could number them on a directory basis, but that's additional# complications, let's have a unique counter.m4_define([_AM_STAMP_Count], [0])# _AM_STAMP(HEADER)# -----------------# The name of the stamp file for HEADER.AC_DEFUN([_AM_STAMP],[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnlAS_ESCAPE(_AM_DIRNAME(patsubst([$1],                               [:.*])))/stamp-h[]_AM_STAMP_Count])# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)# ------------------------------------------------------------# We used to try to get a real timestamp in stamp-h.  But the fear is that# that will cause unnecessary cvs conflicts.AC_DEFUN([_AM_CONFIG_HEADER],[# Add the stamp file to the list of files AC keeps track of,# along with our hook.AC_CONFIG_HEADERS([$1],                  [# update the timestampecho 'timestamp for $1' >"_AM_STAMP([$1])"$2],                  [$3])])# _AM_CONFIG_HEADER# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)# --------------------------------------------------------------AC_DEFUN([AM_CONFIG_HEADER],[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])])# AM_CONFIG_HEADER# Add --enable-maintainer-mode option to configure.# From Jim Meyering# Copyright 1996, 1998, 2000, 2001 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 1AC_DEFUN([AM_MAINTAINER_MODE],[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])  dnl maintainer-mode is disabled by default  AC_ARG_ENABLE(maintainer-mode,[  --enable-maintainer-mode enable make rules and dependencies not useful                          (and sometimes confusing) to the casual installer],      USE_MAINTAINER_MODE=$enableval,      USE_MAINTAINER_MODE=no)  AC_MSG_RESULT([$USE_MAINTAINER_MODE])  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])  MAINT=$MAINTAINER_MODE_TRUE  AC_SUBST(MAINT)dnl])# isc-posix.m4 serial 2 (gettext-0.11.2)dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.dnl This file is free software, distributed under the terms of the GNUdnl General Public License.  As a special exception to the GNU Generaldnl Public License, this file may be distributed as part of a programdnl that contains a configuration script generated by Autoconf, underdnl the same distribution terms as the rest of that program.# This file is not needed with autoconf-2.53 and newer.  Remove it in 2005.# This test replaces the one in autoconf.# Currently this macro should have the same name as the autoconf macro# because gettext's gettext.m4 (distributed in the automake package)# still uses it.  Otherwise, the use in gettext.m4 makes autoheader# give these diagnostics:#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIXundefine([AC_ISC_POSIX])AC_DEFUN([AC_ISC_POSIX],  [    dnl This test replaces the obsolescent AC_ISC_POSIX kludge.    AC_CHECK_LIB(cposix, strerror, [LIBS="$LIBS -lcposix"])  ])# Copyright 1996, 1997, 1999, 2000, 2001 Free Software Foundation, Inc.# This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2, or (at your option)# any later version.# This program is distributed in the hope that it will be useful,# but WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the# GNU General Public License for more details.# You should have received a copy of the GNU General Public License# along with this program; if not, write to the Free Software# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA# 02111-1307, USA.# serial 1# @defmac AC_PROG_CC_STDC# @maindex PROG_CC_STDC# @ovindex CC# If the C compiler in not in ANSI C mode by default, try to add an option# to output variable @code{CC} to make it so.  This macro tries various# options that select ANSI C on some system or another.  It considers the# compiler to be in ANSI C mode if it handles function prototypes correctly.## If you use this macro, you should check after calling it whether the C# compiler has been set to accept ANSI C; if not, the shell variable# @code{am_cv_prog_cc_stdc} is set to @samp{no}.  If you wrote your source# code in ANSI C, you can make an un-ANSIfied copy of it by using the# program @code{ansi2knr}, which comes with Ghostscript.# @end defmacAC_DEFUN([AM_PROG_CC_STDC],[AC_REQUIRE([AC_PROG_CC])AC_BEFORE([$0], [AC_C_INLINE])AC_BEFORE([$0], [AC_C_CONST])dnl Force this before AC_PROG_CPP.  Some cpp's, eg on HPUX, requirednl a magic option to avoid problems with ANSI preprocessor commandsdnl like #elif.dnl FIXME: can't do this because then AC_AIX won't work due to adnl circular dependency.dnl AC_BEFORE([$0], [AC_PROG_CPP])AC_MSG_CHECKING([for ${CC-cc} option to accept ANSI C])AC_CACHE_VAL(am_cv_prog_cc_stdc,[am_cv_prog_cc_stdc=noac_save_CC="$CC"# Don't try gcc -ansi; that turns off useful extensions and# breaks some systems' header files.# AIX			-qlanglvl=ansi# Ultrix and OSF/1	-std1# HP-UX 10.20 and later	-Ae# HP-UX older versions	-Aa -D_HPUX_SOURCE# SVR4			-Xc -D__EXTENSIONS__for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"do  CC="$ac_save_CC $ac_arg"  AC_TRY_COMPILE([#include <stdarg.h>#include <stdio.h>#include <sys/types.h>#include <sys/stat.h>/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */struct buf { int x; };FILE * (*rcsopen) (struct buf *, struct stat *, int);static char *e (p, i)     char **p;     int i;{  return p[i];}static char *f (char * (*g) (char **, int), char **p, ...){  char *s;  va_list v;  va_start (v,p);  s = g (p, va_arg (v,int));  va_end (v);  return s;}int test (int i, double x);struct s1 {int (*f) (int a);};struct s2 {int (*f) (double a);};int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);int argc;char **argv;], [return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];],[am_cv_prog_cc_stdc="$ac_arg"; break])doneCC="$ac_save_CC"])if test -z "$am_cv_prog_cc_stdc"; then  AC_MSG_RESULT([none needed])else  AC_MSG_RESULT([$am_cv_prog_cc_stdc])ficase "x$am_cv_prog_cc_stdc" in  x|xno) ;;  *) CC="$CC $am_cv_prog_cc_stdc" ;;esac])dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not)dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man pagednl also defines GSTUFF_PKG_ERRORS on errorAC_DEFUN(PKG_CHECK_MODULES, [  succeeded=no  if test -z "$PKG_CONFIG"; then    AC_PATH_PROG(PKG_CONFIG, pkg-config, no)  fi  if test "$PKG_CONFIG" = "no" ; then     echo "*** The pkg-config script could not be found. Make sure it is"     echo "*** in your path, or set the PKG_CONFIG environment variable"     echo "*** to the full path to pkg-config."     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."  else     PKG_CONFIG_MIN_VERSION=0.9.0     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then        AC_MSG_CHECKING(for $2)        if $PKG_CONFIG --exists "$2" ; then            AC_MSG_RESULT(yes)            succeeded=yes            AC_MSG_CHECKING($1_CFLAGS)            $1_CFLAGS=`$PKG_CONFIG --cflags "$2"`            AC_MSG_RESULT($$1_CFLAGS)            AC_MSG_CHECKING($1_LIBS)            $1_LIBS=`$PKG_CONFIG --libs "$2"`            AC_MSG_RESULT($$1_LIBS)        else            $1_CFLAGS=""            $1_LIBS=""            ## If we have a custom action on failure, don't print errors, but             ## do set a variable so people can do so.            $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`            ifelse([$4], ,echo $$1_PKG_ERRORS,)        fi        AC_SUBST($1_CFLAGS)        AC_SUBST($1_LIBS)     else        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."        echo "*** See http://www.freedesktop.org/software/pkgconfig"     fi  fi  if test $succeeded = yes; then     ifelse([$3], , :, [$3])  else     ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4])  fi])# Copyright (C) 1995-2002 Free Software Foundation, Inc.# Copyright (C) 2001-2003 Red Hat, Inc.## This file is free software, distributed under the terms of the GNU# General Public License.  As a special exception to the GNU General# Public License, this file may be distributed as part of a program# that contains a configuration script generated by Autoconf, under# the same distribution terms as the rest of that program.## This file can be copied and used freely without restrictions.  It can# be used in projects which are not available under the GNU Public License# but which still want to provide support for the GNU gettext functionality.## Macro to add for using GNU gettext.# Ulrich Drepper <drepper@cygnus.com>, 1995, 1996## Modified to never use included libintl. # Owen Taylor <otaylor@redhat.com>, 12/15/1998#

⌨️ 快捷键说明

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