570 Commits

Author SHA1 Message Date
brain
614618a21f And fix it so it works
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6412 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:05:11 +00:00
brain
0106c221c0 Better detection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6411 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:03:42 +00:00
brain
f8706cb333 Add caching of all detected values :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6410 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 21:44:48 +00:00
brain
dff9228f24 Proritise cached value above a search
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6409 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 21:42:57 +00:00
brain
5784c43969 Fixes to make ./configure prompt for libs if all else fails (discussed earlier with w00t).
The values prompted for are cached, so if you specify them then ./configure -update wont prompt again for them


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6408 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 21:41:29 +00:00
brain
e75369a727 Add O_NOFOLLOW to file write call, which prevents following of symlinks making our temp file writing completely secure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6358 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-16 21:40:14 +00:00
brain
3446072b3e Move showhelp() into make/configure.pm
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6323 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 17:07:09 +00:00
brain
5ecbb6f80f Slightly decraqed configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6322 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 16:46:24 +00:00
brain
4b508594ae Starting tidying up the configure script, and moving a lot of stuff into functions in the make/ dir
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6320 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 16:26:30 +00:00
brain
f6f45af59e Fix broken ./configure macros broken by introduction of an eval
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6316 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 02:19:27 +00:00
brain
72b28ac3df Output which module is executing the macro
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6314 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:54:04 +00:00
brain
55f4198a35 Formatting glitch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6313 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:49:16 +00:00
brain
4f08be1ae8 Improved detail in configure, and two new functions exec() and eval() are more accountable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6312 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:48:22 +00:00
brain
f9d43fcd9f Add eval() and exec() macros, that evaluate perl and execute commands at configure time, rather than delaying them with backticks till compile time. This picks up any errors sooner.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6311 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:39:29 +00:00
brain
fdabab1b82 Take out unneccessary chomp()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6310 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:15:28 +00:00
brain
3b98fdf9f3 Make the rpath() macro handle lines with multiple -L in them
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6309 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:15:09 +00:00
brain
7e014c9b8c Output for 'using defaults' when nothing of interest found
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6308 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:03:50 +00:00
brain
2e9951e823 Colour coding, tidying, and more verbose output to configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6307 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13 23:58:51 +00:00
brain
4f0e6377e8 Extra stuff to improve buildsystem, calculate lib and include dirs at configure time rather than at build time. This means that we can also throw errors at configure time if we cant find the libraries,
rather than erroring at buildtime like we used to.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6306 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13 23:53:08 +00:00
brain
ad4d207905 Tidy up the buildsystem a lot by encapsulating repeated detection routines for lib dirs and header dirs in make/utilities.pm.
See the pl files in src/modules/extra for how to use the functions.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6305 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13 23:29:40 +00:00