autoconf
[Top][All Lists]
Advanced

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

Re: win32 compiler test V3a


From: Akim Demaille
Subject: Re: win32 compiler test V3a
Date: 15 Mar 2001 16:16:00 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

| > | AC_REQUIRE([AC_PROG_CC])
| >
| > dnl at the end
| 
| what do you mean by this?

AC_REQUIRE([AC_PROG_CC])dnl

| The curse of reading other peoples code : I got this from a
| /usr/share/aclocal/ routine

Send fixes to the authors :)


| I'm not quite sure whether you meant indent all of them a certain
| amount, or use heirarchical indenting on them..

See the documentation.

#if
# if
...
# else
...
# fi
#else
#fi

| I had a problem with _AC_LANG not being found by autoconf with your
| suggested code. In fact I'm not sure that $_AC_LANG will be found
| either.

What code, how did you write it?

/tmp % cat configure.ac                                          nostromo Err 1
AC_DEFUN([Rob],
[AC_LANG([$1])
AC_LANG_CASE([C], [# Nada],
             [C++], [# Niente],
             [AC_FATAL([no support for: ]_AC_LANG)])])

AC_INIT
Rob([C])
Rob([C++])
Rob([Fortran 77])
/tmp % ace                                                       nostromo 16:15
autoconf: warning: both `configure.ac' and `configure.in' are present.
autoconf: warning: proceeding with `configure.ac'.
configure.ac:10: error: no support for: Fortran 77
configure.ac:5: Rob is expanded from...
configure.ac:5: Rob is expanded from...
configure.ac:5: Rob is expanded from...
configure.ac:10: the top level



reply via email to

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