Changes between Version 18 and Version 19 of MacOSXCompilationGuide
- Timestamp:
- 01/07/2013 06:16:48 PM (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MacOSXCompilationGuide
v18 v19 36 36 }}} 37 37 38 The 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.}}} 38 The 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 see the following error message in the terminal: 39 {{{ 40 configure.ac:8: error: 'AM_CONFIG_HEADER': this macro is obsolete. 41 You should use the 'AC_CONFIG_HEADERS' macro instead. 42 }}} 41 43 42 44 Mac 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.


