delorie.com/archives/browse.cgi | search |
| > | 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |