From bug-request at octave dot org Tue Mar 28 04:12:29 2006 Subject: Re: Problems after building octave-forge-2.1.73 on Mac OS X From: Martin Costabel To: "John W. Eaton" Cc: "bug at octave dot org" Date: Tue, 28 Mar 2006 12:10:44 +0200 John W. Eaton wrote: [] > I made the following change in configure.in for the 2.1.x and 2.9.x > branches in the CVS archive. Is there anything else that needs to > change? I don't really speak autoconf, but this was indeed the origin of the problem. Maybe this case is an argument for not using these internal autoconf variables at all, but using the syntax proposed by the docs: AC_CHECK_HEADER(mach-o/dyld.h, [dyld_api=true], [ AC_CHECK_LIB(dld, shl_load) etc... ]) > > Index: configure.in > =================================================================== > RCS file: /cvs/octave/configure.in,v > retrieving revision 1.503 > retrieving revision 1.504 > diff -u -r1.503 -r1.504 > --- configure.in 22 Mar 2006 22:25:58 -0000 1.503 > +++ configure.in 27 Mar 2006 22:26:18 -0000 1.504 > at @ -1290,7 +1290,7 @@ > ### Check for dyld first since OS X can have a non-standard libdl > > AC_CHECK_HEADER(mach-o/dyld.h) > - if test "$ac_cv_header_Mach_O_dyld_h" = yes; then > + if test "$ac_cv_header_mach_o_dyld_h" = yes; then > dyld_api=true > else > AC_CHECK_LIB(dld, shl_load) > -- Martin ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------