summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAge
* Final changes before 3.1.1 releaseDan McGee2008-01-19
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix some left over of a0ac72b42.Chantry Xavier2008-01-15
| | | | | Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
* Bump version to develDan McGee2008-01-10
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update configure.ac version for releaseDan McGee2008-01-09
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Ensure that manpages are always distributed and installedDan McGee2007-12-28
| | | | | | | | | | | | | Commit 012f7939784358b02726c169543aa99436439335 was a bit misguided in its thinking, and resulted in a package built without asciidoc enabled not installing the manpages to the system on a 'make install' operation. Fix this behavior by making manpages required in a normal build, and in order to disable their existence, the '--disable-doc' option must be used. Hopefully this solves manpage issues for both developers and package builders while allowing as much flexibility as possible. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove abs from the pacman repositoryDan McGee2007-12-21
| | | | | | | | | | | | abs has always been an Arch Linux specific tool, and although it is used primarily by pacman and makepkg, it should not be included with a distro- agnostic tarball. In addition, maintenance of the script would be better outside of pacman and would allow for more frequent updates. This also facilitates our move away from a cvsup/csup dependent tool for syncing PKGBUILDs. Signed-off-by: Dan McGee <dan@archlinux.org>
* configure: Doxygen is disabled by default; manpages are included in distDan McGee2007-11-13
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Return libalpm version number to being dot-separatedDan McGee2007-11-13
| | | | | | I think I goofed this up when making the big overhaul of configure.ac. Signed-off-by: Dan McGee <dan@archlinux.org>
* Make building of pacman.static optionalDan McGee2007-11-04
| | | | | | | | Because building of pacman.static fails on some platforms, we should make it optional. It is enabled by default but can be disabled with the use of the --disable-pacman-static flag. Signed-off-by: Dan McGee <dan@archlinux.org>
* Add some more autoconf macros to filter our CFLAGS usageDan McGee2007-11-04
| | | | | | | | | | | Hopefully these new autoconf macros, with a little magic, will allow us to compile with any compiler and still choose the options we have available to us. Tested locally with gcc 4.2.2 and gcc 3.4.6; the latter doesn't support two of the items we previously had hardcoded in our CFLAGS. Signed-off-by: Dan McGee <dan@archlinux.org>
* Use an autoconf macro to see if -fstack-protector is availableDan McGee2007-11-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Revise configure.acDan McGee2007-11-04
| | | | | | | | | | | | Do a little cleanup of our configure script. Highlights: * Remove macros deemed unnecessary to call [1] * Change check for compiler to look for one that is C99 capable- this automatically adds the -std=gnu99 flag [1] Noted in the autoconf NEWS file, notably entries for 2.59d Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove final use of the math library from pacmanDan McGee2007-11-04
| | | | | | To round a value, we don't need floorf- we can just cast to an int. Signed-off-by: Dan McGee <dan@archlinux.org>
* Pick best python program available for 'make check'Dan McGee2007-10-30
| | | | | | | Use an autoconf macro to find us a python executable, preferring python2.5 if we can find it. From there, fall back to python2.4 and then python. Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix mcheck detection and usageDan McGee2007-10-26
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Merge branch 'asciidoc' into workingDan McGee2007-09-16
|\ | | | | | | | | We're getting close to release, so might as well do this now so people can actually update some of our documentation.
| * Add asciidoc checking to configure.ac, make manpage generation optionalDan McGee2007-07-09
| | | | | | | | | | | | | | | | | | Include manpages when we ship a package tarball, and allow them to be generated by the end user if they want by using the --enable-asciidoc option to ./configure. This will allow us to maintain manpages in an easier to modify format while still keeping the make dependencies to a minimum. Signed-off-by: Dan McGee <dan@archlinux.org>
* | configure.ac: Remove the hyphen from the version suffixDan McGee2007-08-21
| | | | | | | | | | | | Also switch out outdated PACKAGE_STRING variable for pacman_display_version. Signed-off-by: Dan McGee <dan@archlinux.org>
* | Clean up architecture handling in configure.acDan McGee2007-08-20
| | | | | | | | | | | | | | | | | | | | Remove the need for two variables for the architecture-specific switches (things like "-march=i686") by combining it into one variable. Also allow configure to proceed with only a warning if we don't have presets for the detected architecture- it is kind of stupid to restrict ourselves like we had been. Signed-off-by: Dan McGee <dan@archlinux.org>
* | configure.ac: Clean up and document version number incrementsDan McGee2007-08-16
| | | | | | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* | Code cleanupDan McGee2007-08-14
| | | | | | | | | | | | | | | | Remove the commented desc_localized stuff, we can find it later in version control. Also remove some unnecessary includes of the stat header and use -fstack-protector-all which is a bit more broad. Signed-off-by: Dan McGee <dan@archlinux.org>
* | Remove versioncmp.{c,h}, clean up selective #ifdefsDan McGee2007-07-12
| | | | | | | | | | | | | | | | | | Remove versioncmp.c by moving all functions to locations that make sense. Move replacement functions (for building without glibc) into util.c where they belong, and do proper checks for them instead of using __sun__, etc. Signed-off-by: Dan McGee <dan@archlinux.org>
* | Add AC_SYS_LARGEFILE to configure.acDan McGee2007-07-09
|/ | | | | | | | This defines _FILE_OFFSET_BITS == 64, which makes stat calls transparently use stat64, etc. This allows us to support large files, such as packages over 1 GB in size. libarchive was already correctly compiled with this macro. Signed-off-by: Dan McGee <dan@archlinux.org>
* First step of moving translations from src/pacman/po to po/Dan McGee2007-07-06
| | | | | | | | | Move the translations from src/pacman/po to just po/ so we can include the scripts gettext translations in the same message catalog as that of the pacman frontend. The libalpm message catalog, for now, will remain a separate existence. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove lockfile configuration from frontend, make it job of libalpmDan McGee2007-06-27
| | | | | | | | | | | | I previously introduced some patches to make just about every path in pacman/libalpm configurable; doing this with the lockfile seemed a bit too far and we really should just place the lockfile where it belongs- with the DB that needs locking. More details in this thread: http://archlinux.org/pipermail/pacman-dev/2007-June/008499.html Signed-off-by: Dan McGee <dan@archlinux.org>
* Add ARM architecture to configure.acDan McGee2007-06-13
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update configure.ac with a few new functions to check forDan McGee2007-06-09
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Autotool clean up.Andrew Fyfe2007-06-04
| | | | | | | | | * Add vim modeline to Makefile.am and configure.ac * Fix white space in Makefile.am and configure.ac * Add contrib/wget-xdelta.sh to EXTRA_DIST in Makefile.am Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove hardcoded defines from libalpmDan McGee2007-06-04
| | | | | | | | Remove any use of the former path variables defined by the Makefiles or config.h. These are now runtime configurable only with pacman.conf (or by using flags on the command line). Signed-off-by: Dan McGee <dan@archlinux.org>
* Correct descriptions of configure optionsRoman Kyrylych2007-06-03
| | | | | Signed-off-by: Roman Kyrylych <roman@archlinux.org> Signed-off-by: Dan McGee <dpmcgee@gmail.com>
* FS7319: Add option to disable the inclusion of abs script.Andrew Fyfe2007-05-31
| | | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Add autotool substitution for SRCEXT.Andrew Fyfe2007-05-31
| | | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* Autotool fixes/cleanup.Andrew Fyfe2007-05-31
| | | | | | | | * configure.ac: Add AC_SUBST() for ROOTDIR, PKGEXT, DBEXT so they get exported to Makefiles. * {makepkg,pacman}.conf.in: Remove extra / from paths. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Move DB and cache dirs away from there dependence on ROOTDIRDan McGee2007-05-31
| | | | | | | | | | | | | | | | | | | This change allows us to use all autoconf specified paths, most notably $(localstatedir). It is quite a change and touches a lot of files, as all references to the DB and cache were done with the ROOTDIR as a prefix. * add --lock command-line option to pacman to specify the location of the lockfile (this can now be specified at configure time by setting the $localstatedir path). * Rip quite a few settings out of configure.ac as they are now picked by setting the paths during configure or make. * Fix bug with /tmp fallback for sync downloads not working correctly (related to root location, now the system tmp dir is used). * Simplified the parameters to some libalpm functions, and added get/set for the new lockfile option. * Renamed several of the DEFS to names without the PM_ prefix. Signed-off-by: Dan McGee <dan@archlinux.org>
* Finish making autoconf changesDan McGee2007-05-30
| | | | | | | | | | Fix up everything in the etc/ directory so it is built at make-time and not configure-time. This reduces configure generated files to just the makefiles, which is the correct way to do things. This also allows a switch from @@REPO@@ to the more sane @REPO@ in mirrorlist.in, and kills the two-part generation of the mirror files. Signed-off-by: Dan McGee <dan@archlinux.org>
* scripts: do autoconf path replacement rightDan McGee2007-05-30
| | | | | | | | | | This should finally get the path replacement in our scripts right. This is the way the autoconf package itself does it and should not need much further tweaking. Threw in a few trailing whitespace corrections from the scripts as well. Signed-off-by: Dan McGee <dan@archlinux.org>
* Modernize and update configure.acDan McGee2007-05-30
| | | | | | | | Using the autoscan tool, ensure we are doing the checks we should be doing in configure.ac. There is still more work to do, but this is a start at cleaning up the file a bit to make it much easier to change in the future. Signed-off-by: Dan McGee <dan@archlinux.org>
* Substitute config directory in scripts.Andrew Fyfe2007-05-29
| | | | Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Set paths in pacman-optimize to use configure-time pathsDan McGee2007-05-29
| | | | | | | | | | | | By setting up a few more AC_SUBST macros in configure.ac, we can fill in paths in the scripts on the fly instead of having them in multiple places. Other small fixes: * Fix an oops on my last commit where I had some lines stil commented. * Fix makepkg bug where the generated package name using PKGEXT had two periods (..). Signed-off-by: Dan McGee <dan@archlinux.org>
* Get --help and --version options working on all scriptsDan McGee2007-05-29
| | | | | | | | | Added the autoconf option std-options to the scripts/ directory, which checks to ensure all programs have both --help and --version options. A few things needed cleaning up to get this working. To test these types of options, use the 'make distcheck' target. Signed-off-by: Dan McGee <dan@archlinux.org>
* autotool scripts/updatesyncAndrew Fyfe2007-05-27
| | | | | | | | - move scripts/updatesync -> scripts/updatesync.in - add -V --version options to scripts/updatesync.in - add autotool commands to generate scripts/updatesync Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/repo-removeAndrew Fyfe2007-05-27
| | | | | | | | - move scripts/repo-remove -> scripts/repo-remove.in - add -V --version options to scripts/repo-remove.in - add autotool commands to generate scripts/repo-remove Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/repo-addAndrew Fyfe2007-05-27
| | | | | | | | - move scripts/repo-add -> scripts/repo-add.in - add -V --version options to scripts/repo-add.in - add autotool commands to generate scripts/repo-add Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/pacman-optimizeAndrew Fyfe2007-05-27
| | | | | | | | - move scripts/pacman-optimize -> scripts/pacman-optimize.in - add -V --version options to scripts/pacman-optimize.in - add autotool commands to generate scripts/pacman-optimize Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/makeworldAndrew Fyfe2007-05-27
| | | | | | | | - move scripts/makeworld to scripts/makeworld.in - add -V --version options to scripts/makeworld.in - add autotool commands to generate scripts/makeworld Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/gensyncAndrew Fyfe2007-05-27
| | | | | | | | - move scripts/gensync -> scripts/gensync.in - add -V --version options to scripts/gensync.in - add autotool commands to generate scripts/gensync Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* autotool scripts/absAndrew Fyfe2007-05-27
| | | | | | | | - move scripts/abs -> scripts/abs.in - add -V --version options to scripts/abs.in - add autotool commands to generate scripts/abs Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
* Bump up the version numbers a bit for the development branchDan McGee2007-04-28
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Backport changes from 3.0.1Aaron Griffin2007-04-04
| | | | | | | | | | * Align makepkg -g checksums (Tom Killian <tom@archlinux.org>) * Use additional case-sensitive string compare to defeat locale issues (tr_TR) * Added Russian mirror * Fix a -R failure when trying to remove the same target twice * Bump configure.ac version to 3.0.1 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Gettext support in makepkgGiovanni Scafora2007-03-31
| | | | | | | | Add gettext support to makepkg. Still to do- figure out for sure what textdomain the translations should go in (perhaps share with pacman?), and ensure this doesn't break anything. Signed-off-by: Dan McGee <dan@archlinux.org>