summaryrefslogtreecommitdiff
path: root/make/utilities.pm
Commit message (Collapse)AuthorAgeFilesLines
* Make pkg-config failure error clearerGravatar danieldg2009-06-261-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11417 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix error when configuring with a custom directory: ↵Gravatar brain2009-02-111-1/+8
| | | | | | http://www.inspircd.org/forum/showthread.php?t=5419 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11085 e03df62e-2008-0410-955e-edbf42e46eb7
* fix typoGravatar peavey2009-01-241-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10995 e03df62e-2008-0410-955e-edbf42e46eb7
* Friendlify error message here tooGravatar brain2009-01-041-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10948 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra support for freebsd openssl, allow user to pick between ports and base ↵Gravatar brain2008-04-271-4/+7
| | | | | | version if they have both, default to ports version in interactive, require a flag in ./configure git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9591 e03df62e-2008-0410-955e-edbf42e46eb7
* More stuff so that freebsd users can still use the ports version of openssl ↵Gravatar brain2008-04-271-0/+18
| | | | | | if they want git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9590 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix this up a bit nicerGravatar brain2008-04-271-4/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9588 e03df62e-2008-0410-955e-edbf42e46eb7
* and make it work right...Gravatar brain2008-04-271-34/+15
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9587 e03df62e-2008-0410-955e-edbf42e46eb7
* Add some stuff from the freebsd port based on ideas by Matthew Seaman which ↵Gravatar brain2008-04-271-0/+55
| | | | | | allow inspircd to use the base version of openssl on freebsd git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9586 e03df62e-2008-0410-955e-edbf42e46eb7
* Patch provided by danieldg for fixing 3-figure versions in configureGravatar brain2008-02-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8926 e03df62e-2008-0410-955e-edbf42e46eb7
* Revert tmpfile cleanup from r8761, also make configure's perl version check ↵Gravatar aquanight2008-01-271-1/+0
| | | | | | happen during compilation phase so that people don't get millions of useless errors. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8762 e03df62e-2008-0410-955e-edbf42e46eb7
* Some configure cleanups: like using perl functions/modules instead of ↵Gravatar aquanight2008-01-271-23/+24
| | | | | | system() (symlink, clear, mv, mkdir -p), clean up tmpfile for eval(), use \e instead of \033, and use a heredoc for the big banner on starting configure git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8761 e03df62e-2008-0410-955e-edbf42e46eb7
* Make sure that if an exec() macro fails its picked up before build timeGravatar brain2008-01-271-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8757 e03df62e-2008-0410-955e-edbf42e46eb7
* Aquanight's configure strict/fatal warnings patchGravatar brain2008-01-171-22/+28
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8731 e03df62e-2008-0410-955e-edbf42e46eb7
* Add --disable-rpath. Probably wont backport this for the time beingGravatar brain2007-11-031-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8475 e03df62e-2008-0410-955e-edbf42e46eb7
* Add 'require 5.8.0' to the very top of every module to make the failure ↵Gravatar brain2007-08-251-1/+3
| | | | | | message when you run an ancient perl a bit more descriptive. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7820 e03df62e-2008-0410-955e-edbf42e46eb7
* more headers.Gravatar peavey2007-07-171-5/+9
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7468 e03df62e-2008-0410-955e-edbf42e46eb7
* Added the execruntime() function for Compile/Linker flags - executes shell ↵Gravatar special2007-07-171-0/+4
| | | | | | commands at compile time rather than during configure git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7458 e03df62e-2008-0410-955e-edbf42e46eb7
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.Gravatar peavey2007-07-161-1/+383
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are ↵Gravatar peavey2007-07-161-383/+1
| | | | | | auto skipped by svn. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
* Add licensing headers to files which are missing them and make sure they are ↵Gravatar brain2007-04-071-0/+9
| | | | | | up to date in others (e.g. point at the developer page on the wiki not list names) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7
* New patch from BuildSmart for OS X support, not broken like the last oneGravatar w00t2007-02-011-0/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6473 e03df62e-2008-0410-955e-edbf42e46eb7
* Add check for openssl >= 0.9.7, and fix for if the library cant be found at allGravatar brain2007-01-211-1/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken function vcheck() that checks one dot-delimited version string ↵Gravatar brain2007-01-211-3/+3
| | | | | | against another git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7
* Add extra macro pkgconfversion("packagename", "version");Gravatar brain2007-01-211-1/+63
| | | | | | | | | 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
* Fix library detection flags (bad define put into the ldflags)Gravatar brain2007-01-211-1/+2
| | | | | | | 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
* Fix the commandline stuff up to actually work!Gravatar brain2007-01-201-7/+18
| | | | | | | 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
* If we're not in interactive mode, then we dont prompt interactively for the ↵Gravatar brain2007-01-201-7/+25
| | | | | | | | | | value. 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
* Additional feature, pass -DVERSION_PKGCONFMODNAME="xxx" to modules that use ↵Gravatar brain2007-01-201-9/+17
| | | | | | | | | the pkgconfig detection macros (the modules can use this if they like) 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
* And fix it so it worksGravatar brain2007-01-201-14/+14
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6412 e03df62e-2008-0410-955e-edbf42e46eb7
* Better detectionGravatar brain2007-01-201-11/+34
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6411 e03df62e-2008-0410-955e-edbf42e46eb7
* Add caching of all detected values :)Gravatar brain2007-01-201-0/+8
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6410 e03df62e-2008-0410-955e-edbf42e46eb7
* Proritise cached value above a searchGravatar brain2007-01-201-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6409 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes to make ./configure prompt for libs if all else fails (discussed ↵Gravatar brain2007-01-201-2/+23
| | | | | | | | | 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
* Add O_NOFOLLOW to file write call, which prevents following of symlinks ↵Gravatar brain2007-01-161-1/+1
| | | | | | making our temp file writing completely secure git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6358 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix broken ./configure macros broken by introduction of an evalGravatar brain2007-01-141-2/+6
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6316 e03df62e-2008-0410-955e-edbf42e46eb7
* Output which module is executing the macroGravatar brain2007-01-141-16/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6314 e03df62e-2008-0410-955e-edbf42e46eb7
* Formatting glitchGravatar brain2007-01-141-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6313 e03df62e-2008-0410-955e-edbf42e46eb7
* Improved detail in configure, and two new functions exec() and eval() are ↵Gravatar brain2007-01-141-43/+64
| | | | | | more accountable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6312 e03df62e-2008-0410-955e-edbf42e46eb7
* Add eval() and exec() macros, that evaluate perl and execute commands at ↵Gravatar brain2007-01-141-0/+20
| | | | | | 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
* Take out unneccessary chomp()Gravatar brain2007-01-141-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6310 e03df62e-2008-0410-955e-edbf42e46eb7
* Make the rpath() macro handle lines with multiple -L in themGravatar brain2007-01-141-6/+12
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6309 e03df62e-2008-0410-955e-edbf42e46eb7
* Output for 'using defaults' when nothing of interest foundGravatar brain2007-01-141-3/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6308 e03df62e-2008-0410-955e-edbf42e46eb7
* Colour coding, tidying, and more verbose output to configureGravatar brain2007-01-131-0/+16
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6307 e03df62e-2008-0410-955e-edbf42e46eb7
* Extra stuff to improve buildsystem, calculate lib and include dirs at ↵Gravatar brain2007-01-131-3/+38
| | | | | | | | | 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
* Tidy up the buildsystem a lot by encapsulating repeated detection routines ↵Gravatar brain2007-01-131-0/+86
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