Changes between Version 17 and Version 18 of CompilationGuide/MacOSX


Ignore:
Timestamp:
Jan 7, 2013, 7:13:04 PM (6 years ago)
Author:
jazmann
Comment:

Comment about the new version of autoconfig generating an error.

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/MacOSX

    v17 v18  
    3535cd .. 
    3636}}} 
     37 
     38The new version of autoconf requires that you replace AM_CONFIG_HEADER in configure.ac at line 8 with AC_CONFIG_HEADERS. If you don't make this change you will se the following : 
     39{{{configure.ac:8: error: 'AM_CONFIG_HEADER': this macro is obsolete. 
     40    You should use the 'AC_CONFIG_HEADERS' macro instead.}}} 
    3741 
    3842Mac OS X Lion comes with Freetype already installed (older versions may need 'X11' selected during installation), but in an atypical location: /usr/X11. Running freetype-config in Terminal can give the locations of the individual folders, like headers, and libraries, so be prepared to add lines like {{{CFLAGS=`freetype-config --cflags` LDFLAGS=`freetype-config --libs` PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig }}} before {{{./configure}}} or add them to your $HOME/.profile file.