Revision 11540 : AC_CONFIG_MACRO_DIR breaks on OSX

Neil Williams linux at codehelp.co.uk
Thu Nov 3 14:23:15 EST 2005


I've only just got svn on my OSX box and updated gnucash.

Christian's change on Wed Oct 26 appears to have broken OSX. I get:

checking whether to enable maintainer-specific portions of Makefiles... yes
./configure: line 5368: syntax error near unexpected token 'macros'
./configure: line 5368: 'AC_CONFIG_MACRO_DIR(macros)'

If nobody else sees this problem, I've got a patch that defines the macro for 
$host_os in darwin*) which seems to run OK.

It's a snippet from:
http://lists.gnu.org/archive/html/autoconf-patches/2003-10/msg00052.html

case $host_os in
  darwin*)
    AC_DEFUN([AC_CONFIG_MACRO_DIR],
      [case $1 in
        [[\\/]]* | ?:[[\\/]]* ) ac_macro_dir=$1         ;;
        *)                      ac_macro_dir=$srcdir/$1 ;;
      esac
    if test -d "$ac_macro_dir"; then :
  else
    AC_MSG_ERROR([cannot find macro directory `$1'])
  fi
  ])# AC_CONFIG_MACRO_DIR
  ;;
  *)
  ;;
esac

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20051103/a77c5916/attachment.bin


More information about the gnucash-devel mailing list