summaryrefslogtreecommitdiff
path: root/make/utilities.pm
Commit message (Expand)AuthorAgeFilesLines
* Replace deprecated tmpnam() call•••From Perl 5.22 onwards, POSIX::tmpnam() has been deprecated (without the usual 2 year deprecation cycle), using the File::Temp module instead preserves compatibility while allowing compilation on 5.22 and later. Gravatar Richard Bradfield2015-07-221-1/+2
* Use gnutls_rnd instead of gcry_randomize on newer GnuTLS versions.•••This is a modified version of 690c372. Fixes #905. Gravatar Peter Powell2014-10-251-0/+9
* Add a work around for trampling over PKG_CONFIG_PATH.•••The extend_pkg_path method will be removed in 2.2 as it causes problems with non-standard pkg-config paths. This commit adds a workaround until that happens. Gravatar Peter Powell2014-08-191-0/+1
* Fix various small problems with configure.•••- Fix temporary files not being deleted after use. - Fix the option for disabling rpath. - Fix the help message: * Fix indentation of some help options. * Fix default paths not containing 'run'. * Remove documentation for --disable-ipv6 (exists but does nothing). * Remove documentation for --library-dir (does not exist). - Fix some minor errors in messages. Gravatar Peter Powell2014-06-261-3/+5
* Merge pull request #784 from ShutterQuick/patch-1•••Fix build problem on SolarisGravatar Attila Molnar2014-02-281-2/+1
|\
| * Fix build problem on Solaris•••-rpath only takes one dash Fixes the Solaris build \o/ ''' <fraggeln> SaberUK: http://m.theo.nu/jenkins/job/InspIRCd-2.0/435/label=solaris/console <-- <fraggeln> do you have any clue on why? <@Shutter> Hmm. Where did that extra - come from. <fraggeln> Shutter: no idea :) [...] <fraggeln> Shutter: sub make_rpath($;$) <-- in make/utilities.pm <fraggeln> thats where that extra - is''' Gravatar ShutterQuick2014-02-271-2/+1
* | Fix Solaris not being able to find modules without pkg-config.Gravatar Peter Powell2014-02-271-2/+4
|/
* Headers: update remaining scripts tooGravatar Robby-2012-04-201-8/+18
* Don't implement --atleast-version ourselves, incorrectly•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12622 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-03-111-25/+2
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Run a dependency check on modules so missing dependencies are detected during...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11566 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-011-0/+1
* Make pkg-config failure error clearer•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11417 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-06-261-3/+3
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Fix error when configuring with a custom directory: http://www.inspircd.org/f...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11085 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-02-111-1/+8
* fix typo•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10995 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-01-241-1/+1
* Friendlify error message here too•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10948 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-01-041-0/+3
* Extra support for freebsd openssl, allow user to pick between ports and base ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9591 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-271-4/+7
* More stuff so that freebsd users can still use the ports version of openssl i...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9590 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-271-0/+18
* Fix this up a bit nicer•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9588 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-271-4/+6
* and make it work right...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9587 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-271-34/+15
* Add some stuff from the freebsd port based on ideas by Matthew Seaman which a...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9586 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-04-271-0/+55
* Patch provided by danieldg for fixing 3-figure versions in configure•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8926 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-02-131-1/+1
* Revert tmpfile cleanup from r8761, also make configure's perl version check h...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8762 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-01-271-1/+0
* Some configure cleanups: like using perl functions/modules instead of system(...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8761 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar aquanight2008-01-271-23/+24
* Make sure that if an exec() macro fails its picked up before build time•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-01-271-0/+1
* Aquanight's configure strict/fatal warnings patch•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8731 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-01-171-22/+28
* Add --disable-rpath. Probably wont backport this for the time being•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8475 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-11-031-1/+1
* Add 'require 5.8.0' to the very top of every module to make the failure messa...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7820 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-08-251-1/+3
* more headers.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7468 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-171-5/+9
* Added the execruntime() function for Compile/Linker flags - executes shell co...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7458 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2007-07-171-0/+4
* OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-1/+383
* 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are au...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2007-07-161-383/+1
* Add licensing headers to files which are missing them and make sure they are ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2007-04-071-0/+9
* 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