autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure.ac:27: error: possibly undefined macro: AS_IF


From: ying lcs
Subject: Re: configure.ac:27: error: possibly undefined macro: AS_IF
Date: Sat, 18 Aug 2007 13:56:57 -0500

Thank for your help. Here is my output:

]# autoconf --verbose && ./configure
autoconf: running /usr/bin/autom4te --verbose --language=autoconf
--output=configure configure.ac
autom4te: the trace request object is:
autom4te: $VAR1 = bless( [
autom4te:                  '0',
autom4te:                  0,
autom4te:                  [
autom4te:                    '/usr/share/autoconf'
autom4te:                  ],
autom4te:                  [
autom4te:                    '/usr/share/autoconf/autoconf/autoconf.m4f',
autom4te:                    'configure.ac'
autom4te:                  ],
autom4te:                  {
autom4te:                    'm4_pattern_forbid' => 1,
autom4te:                    'AC_CONFIG_LIBOBJ_DIR' => 1,
autom4te:                    'AC_TYPE_OFF_T' => 1,
autom4te:                    'AC_C_VOLATILE' => 1,
autom4te:                    'AC_FUNC_CLOSEDIR_VOID' => 1,
autom4te:                    'AC_REPLACE_FNMATCH' => 1,
autom4te:                    'AC_PROG_LIBTOOL' => 1,
autom4te:                    'AC_FUNC_STAT' => 1,
autom4te:                    'AC_HEADER_TIME' => 1,
autom4te:                    'AC_FUNC_WAIT3' => 1,
autom4te:                    'AM_AUTOMAKE_VERSION' => 1,
autom4te:                    'AC_STRUCT_TM' => 1,
autom4te:                    'AC_FUNC_LSTAT' => 1,
autom4te:                    'AC_TYPE_MODE_T' => 1,
autom4te:                    'AC_FUNC_GETMNTENT' => 1,
autom4te:                    'AC_FUNC_STRTOD' => 1,
autom4te:                    'AC_CHECK_HEADERS' => 1,
autom4te:                    'AC_FUNC_STRNLEN' => 1,
autom4te:                    'm4_sinclude' => 1,
autom4te:                    'AC_PROG_CXX' => 1,
autom4te:                    'AC_PATH_X' => 1,
autom4te:                    'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
autom4te:                    'AC_PROG_AWK' => 1,
autom4te:                    '_m4_warn' => 1,
autom4te:                    'AC_HEADER_STDC' => 1,
autom4te:                    'AC_HEADER_MAJOR' => 1,
autom4te:                    'AC_FUNC_ERROR_AT_LINE' => 1,
autom4te:                    'AC_PROG_GCC_TRADITIONAL' => 1,
autom4te:                    'AC_LIBSOURCE' => 1,
autom4te:                    'AC_FUNC_MBRTOWC' => 1,
autom4te:                    'AC_STRUCT_ST_BLOCKS' => 1,
autom4te:                    'AC_TYPE_SIGNAL' => 1,
autom4te:                    'AC_TYPE_UID_T' => 1,
autom4te:                    'AC_CONFIG_AUX_DIR' => 1,
autom4te:                    'AC_PROG_MAKE_SET' => 1,
autom4te:                    'sinclude' => 1,
autom4te:                    'm4_pattern_allow' => 1,
autom4te:                    'AC_DEFINE_TRACE_LITERAL' => 1,
autom4te:                    'AC_FUNC_STRERROR_R' => 1,
autom4te:                    'AC_PROG_CC' => 1,
autom4te:                    'AC_FUNC_FORK' => 1,
autom4te:                    'AC_DECL_SYS_SIGLIST' => 1,
autom4te:                    'AC_FUNC_VPRINTF' => 1,
autom4te:                    'AC_FUNC_STRCOLL' => 1,
autom4te:                    'AC_PROG_YACC' => 1,
autom4te:                    'AC_INIT' => 1,
autom4te:                    'AC_STRUCT_TIMEZONE' => 1,
autom4te:                    'AC_FUNC_CHOWN' => 1,
autom4te:                    'AC_SUBST' => 1,
autom4te:                    'AC_FUNC_ALLOCA' => 1,
autom4te:                    'AC_CANONICAL_HOST' => 1,
autom4te:                    'AC_FUNC_GETPGRP' => 1,
autom4te:                    'AC_PROG_RANLIB' => 1,
autom4te:                    'AM_INIT_AUTOMAKE' => 1,
autom4te:                    'AC_FUNC_SETPGRP' => 1,
autom4te:                    'AC_CONFIG_SUBDIRS' => 1,
autom4te:                    'AC_FUNC_MMAP' => 1,
autom4te:                    'AC_FUNC_REALLOC' => 1,
autom4te:                    'AC_TYPE_SIZE_T' => 1,
autom4te:                    'AC_CONFIG_LINKS' => 1,
autom4te:                    'AC_CHECK_TYPES' => 1,
autom4te:                    'AC_CHECK_MEMBERS' => 1,
autom4te:                    'AM_MAINTAINER_MODE' => 1,
autom4te:                    'AC_FUNC_UTIME_NULL' => 1,
autom4te:                    'AC_FUNC_SELECT_ARGTYPES' => 1,
autom4te:                    'AC_FUNC_STRFTIME' => 1,
autom4te:                    'AC_HEADER_STAT' => 1,
autom4te:                    'AC_C_INLINE' => 1,
autom4te:                    'AC_PROG_CPP' => 1,
autom4te:                    'AC_TYPE_PID_T' => 1,
autom4te:                    'AC_C_CONST' => 1,
autom4te:                    'AC_PROG_LEX' => 1,
autom4te:                    'AC_CONFIG_FILES' => 1,
autom4te:                    'include' => 1,
autom4te:                    'AC_FUNC_SETVBUF_REVERSED' => 1,
autom4te:                    'AC_PROG_INSTALL' => 1,
autom4te:                    'AM_GNU_GETTEXT' => 1,
autom4te:                    'AC_FUNC_OBSTACK' => 1,
autom4te:                    'AC_CHECK_LIB' => 1,
autom4te:                    'AC_FUNC_MALLOC' => 1,
autom4te:                    'AC_FUNC_GETGROUPS' => 1,
autom4te:                    'AC_FUNC_GETLOADAVG' => 1,
autom4te:                    'AH_OUTPUT' => 1,
autom4te:                    'AC_FUNC_FSEEKO' => 1,
autom4te:                    'AM_PROG_CC_C_O' => 1,
autom4te:                    'AM_CONDITIONAL' => 1,
autom4te:                    'AC_CANONICAL_SYSTEM' => 1,
autom4te:                    'AC_FUNC_MKTIME' => 1,
autom4te:                    'AC_CONFIG_HEADERS' => 1,
autom4te:                    'AC_HEADER_SYS_WAIT' => 1,
autom4te:                    'AC_FUNC_MEMCMP' => 1,
autom4te:                    'AC_PROG_LN_S' => 1,
autom4te:                    'm4_include' => 1,
autom4te:                    'AC_HEADER_DIRENT' => 1,
autom4te:                    'AC_CHECK_FUNCS' => 1
autom4te:                  }
autom4te:                ], 'Autom4te::Request' );
autom4te: running: /usr/bin/m4 --nesting-limit=1024
--include=/usr/share/autoconf --debug=aflq --fatal-warning
--error-output=autom4te.cache/traces.0t --trace=AC_CANONICAL_HOST
--trace=AC_CANONICAL_SYSTEM --trace=AC_CHECK_FUNCS
--trace=AC_CHECK_HEADERS --trace=AC_CHECK_LIB --trace=AC_CHECK_MEMBERS
--trace=AC_CHECK_TYPES --trace=AC_CONFIG_AUX_DIR
--trace=AC_CONFIG_FILES --trace=AC_CONFIG_HEADERS
--trace=AC_CONFIG_LIBOBJ_DIR --trace=AC_CONFIG_LINKS
--trace=AC_CONFIG_SUBDIRS --trace=AC_C_CONST --trace=AC_C_INLINE
--trace=AC_C_VOLATILE --trace=AC_DECL_SYS_SIGLIST
--trace=AC_DEFINE_TRACE_LITERAL --trace=AC_FUNC_ALLOCA
--trace=AC_FUNC_CHOWN --trace=AC_FUNC_CLOSEDIR_VOID
--trace=AC_FUNC_ERROR_AT_LINE --trace=AC_FUNC_FORK
--trace=AC_FUNC_FSEEKO --trace=AC_FUNC_GETGROUPS
--trace=AC_FUNC_GETLOADAVG --trace=AC_FUNC_GETMNTENT
--trace=AC_FUNC_GETPGRP --trace=AC_FUNC_LSTAT
--trace=AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK --trace=AC_FUNC_MALLOC
--trace=AC_FUNC_MBRTOWC --trace=AC_FUNC_MEMCMP --trace=AC_FUNC_MKTIME
--trace=AC_FUNC_MMAP --trace=AC_FUNC_OBSTACK --trace=AC_FUNC_REALLOC
--trace=AC_FUNC_SELECT_ARGTYPES --trace=AC_FUNC_SETPGRP
--trace=AC_FUNC_SETVBUF_REVERSED --trace=AC_FUNC_STAT
--trace=AC_FUNC_STRCOLL --trace=AC_FUNC_STRERROR_R
--trace=AC_FUNC_STRFTIME --trace=AC_FUNC_STRNLEN
--trace=AC_FUNC_STRTOD --trace=AC_FUNC_UTIME_NULL
--trace=AC_FUNC_VPRINTF --trace=AC_FUNC_WAIT3 --trace=AC_HEADER_DIRENT
--trace=AC_HEADER_MAJOR --trace=AC_HEADER_STAT --trace=AC_HEADER_STDC
--trace=AC_HEADER_SYS_WAIT --trace=AC_HEADER_TIME --trace=AC_INIT
--trace=AC_LIBSOURCE --trace=AC_PATH_X --trace=AC_PROG_AWK
--trace=AC_PROG_CC --trace=AC_PROG_CPP --trace=AC_PROG_CXX
--trace=AC_PROG_GCC_TRADITIONAL --trace=AC_PROG_INSTALL
--trace=AC_PROG_LEX --trace=AC_PROG_LIBTOOL --trace=AC_PROG_LN_S
--trace=AC_PROG_MAKE_SET --trace=AC_PROG_RANLIB --trace=AC_PROG_YACC
--trace=AC_REPLACE_FNMATCH --trace=AC_STRUCT_ST_BLOCKS
--trace=AC_STRUCT_TIMEZONE --trace=AC_STRUCT_TM --trace=AC_SUBST
--trace=AC_TYPE_MODE_T --trace=AC_TYPE_OFF_T --trace=AC_TYPE_PID_T
--trace=AC_TYPE_SIGNAL --trace=AC_TYPE_SIZE_T --trace=AC_TYPE_UID_T
--trace=AH_OUTPUT --trace=AM_AUTOMAKE_VERSION --trace=AM_CONDITIONAL
--trace=AM_GNU_GETTEXT --trace=AM_INIT_AUTOMAKE
--trace=AM_MAINTAINER_MODE --trace=AM_PROG_CC_C_O --trace=_m4_warn
--trace=include --trace=m4_include --trace=m4_pattern_allow
--trace=m4_pattern_forbid --trace=m4_sinclude --trace=sinclude
--reload-state=/usr/share/autoconf/autoconf/autoconf.m4f configure.ac
</dev/null >autom4te.cache/output.0t
autom4te: formatting traces for `/tmp/am4tHV1964/warnings': _m4_warn
autom4te: reading /tmp/am4tHV1964/warnings
autom4te: creating configure
autom4te: formatting traces for `/tmp/am4tHV1964/patterns':
m4_pattern_allow, m4_pattern_forbid
autom4te: forbidden tokens: ^_?A[CHUM]_|_AC_|^LIBOBJS$|^_?m4_|^dnl$|^_?AS_
autom4te: forbidden token : ^LIBOBJS$ => do not use LIBOBJS directly,
use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'
autom4te: allowed   tokens: ^AS_FLAGS$
yes
configure: creating ./config.status



On 8/17/07, Ralf Wildenhues <address@hidden> wrote:
> Hello ying,
>
> * ying lcs wrote on Fri, Aug 17, 2007 at 04:07:49AM CEST:
> > On 8/16/07, Jason Curl <address@hidden> wrote:
> > > >
> > > > I am running '.bootstrap' of VLC source under RHEL4.  But I am getting
> > > > the following error:
> > > >
> > > > I have 'automake 1.9.6' 'autoconf 2.61' 'aclocal 1.9.6' 'm4 1.4.8' in
> > > > my system:
> > > >
> > > I've got autoconf-2.61, libtool-1.5.24, automake-1.10 and it works for
> > > my on SuSE 10.0
>
> Please post a URL to the VLC tarball/sources you are trying to build.
>
> It looks like your autotools installation is somewhat messed up, but I'm
> not yet sure in what way.  So please try this: create a new directory,
> in it create a configure.ac file containing the lines
>   AC_INIT
>   AS_IF([:], [echo yes])
>   AC_OUTPUT
>
> then run
>   autoconf --verbose && ./configure
>
> Please post all output if it does not contain "yes" near the end.
>
> > > > configure.ac:27: error: possibly undefined macro: AS_IF
>
> Thanks,
> Ralf
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]