1
A little guide to autoconf/automake
3
If you want to play with the new autoconf environment you need to do the
4
following, inside your root blender dir:
10
(If you get errors on bootstrap about undefined AC_PROG_LIBTOOL
11
copy acinclude.m4 from /usr/local/share/libtool/libltdl/ into your blender dir)
13
Take a look at INSTALL for options you can give to configure.
15
Ok the way things are setup for blender to make changes to the build system
16
you want to edit Makefile.am's and configure.ac (configure.ac is the
17
new name for configure.in) After that you need to run
18
./bootstrap to generate configure and the Makefile.in's.
19
(Makefile.am's are input to automake to generate Makefile.in's
20
configure.ac and the Makefile.in's are input to autoconf to generate
21
a configure script useable by other people.)
24
I've been using autoconf 2.56 and automake 1.7 so if your using and older
25
version and are having problems you might try upgrading.
27
Here is a neat little tree I dug up somewhere on how you would get
29
your source files --> [autoscan*] --> [configure.scan] --> configure.ac
32
| .------> autoconf* -----> configure
34
| `-----> [autoheader*] --> [config.h.in]
37
Makefile.in -------------------------------> Makefile.in
40
Files used in configuring a software package:
42
.-------------> [config.cache]
43
configure* ------------+-------------> config.log
45
[config.h.in] -. v .-> [config.h] -.
46
+--> config.status* -+ +--> make*
47
Makefile.in ---' `-> Makefile ---'
49
Some links I've found handy:
50
http://www.linuxselfhelp.com/gnu/autoconf/html_chapter/autoconf_12.html
51
http://nis-www.lanl.gov/~rosalia/mydocs/autoconf_tutorial_3.html
52
http://sources.redhat.com/autobook/autobook/autobook_toc.html
53
http://www.gnu.org/manual/automake/html_mono/automake.html
54
http://murrayc.com/learning/linux/building_libraries/building_libraries.shtml
55
http://www.murrayc.com/learning/linux/automake/automake.shtml
59
Square away how ghost works.
60
(i.e. would be nice if under windows you could choose X11 or normal windows
61
libs, same with macos.. right now its a cludge and it doesn't do one explicitly
62
probably involves changing the way configure.ac picks stuff)
64
Get intern/python figured out.
65
fix the following in configure.ac
66
--with-mozilla=dir (get it so nspr is autodetected here)
67
--with-nspr=dir (incase in different dir)