summaryrefslogtreecommitdiff
path: root/make/utilities.pm
Commit message (Expand)AuthorAgeFilesLines
* New patch from BuildSmart for OS X support, not broken like the last one•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6473 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2007-02-011-0/+1
* Add check for openssl >= 0.9.7, and fix for if the library cant be found at all•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-211-1/+4
* Fix broken function vcheck() that checks one dot-delimited version string aga...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-211-3/+3
* Add extra macro pkgconfversion("packagename", "version");•••dies if the version you specify isnt installed. Also added to m_sqlite3: pkgconfversion("sqlite3", "3.3") Note: this will die at configuration time, not compilation time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6421 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-211-1/+63
* Fix library detection flags (bad define put into the ldflags)•••Change default flags from "-g" to "-O2 -g1". This takes us down from a build size of 350mb+ to 35mb, and still gives us the ability to backtrace! :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6419 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-211-1/+2
* Fix the commandline stuff up to actually work!•••Also, fix 'locate' detection of files when pkg-config cant find them. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6415 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-7/+18
* If we're not in interactive mode, then we dont prompt interactively for the v...•••We look for the configuration item in the commandline, --$package-includes="" or --$package-libs="" and use that. If its not defined, we die() with a message to specify the path using that commandline item. This also applies to ./configure -modupdate. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6414 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-7/+25
* Additional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use t...•••Extra tweak/fix: Allow for configure cache values containing the = symbol git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6413 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-9/+17
* And fix it so it works•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6412 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-14/+14
* Better detection•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6411 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-11/+34
* Add caching of all detected values :)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6410 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-0/+8
* Proritise cached value above a search•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6409 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-201-0/+16
* Fixes to make ./configure prompt for libs if all else fails (discussed earlie...•••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 Gravatar brain2007-01-201-2/+23
* Add O_NOFOLLOW to file write call, which prevents following of symlinks makin...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6358 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-161-1/+1
* 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 Gravatar brain2007-01-141-2/+6
* Output which module is executing the macro•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6314 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-141-16/+18
* Formatting glitch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6313 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-141-1/+1
* Improved detail in configure, and two new functions exec() and eval() are mor...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6312 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-141-43/+64
* Add eval() and exec() macros, that evaluate perl and execute commands at conf...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6311 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-141-0/+20
* Take out unneccessary chomp()•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6310 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-01-141-1/+0
* 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 Gravatar brain2007-01-141-6/+12
* 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 Gravatar brain2007-01-141-3/+16
* 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 Gravatar brain2007-01-131-0/+16
* Extra stuff to improve buildsystem, calculate lib and include dirs at configu...•••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 Gravatar brain2007-01-131-3/+38
* Tidy up the buildsystem a lot by encapsulating repeated detection routines fo...•••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 Gravatar brain2007-01-131-0/+86