diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-09-11 10:15:07 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-09-11 10:15:07 +0000 |
commit | 8f4d8573c0eab76dd2edca746ea493d106171940 (patch) | |
tree | c9c8eaa64d7b3495163a37249e610fa0ef26e2b6 /pkgs/os-specific/linux/pam_console | |
parent | 62934c1deefd3effea8a81cccd84bf9c42bc1f4a (diff) | |
download | nixlib-8f4d8573c0eab76dd2edca746ea493d106171940.tar nixlib-8f4d8573c0eab76dd2edca746ea493d106171940.tar.gz nixlib-8f4d8573c0eab76dd2edca746ea493d106171940.tar.bz2 nixlib-8f4d8573c0eab76dd2edca746ea493d106171940.tar.lz nixlib-8f4d8573c0eab76dd2edca746ea493d106171940.tar.xz nixlib-8f4d8573c0eab76dd2edca746ea493d106171940.tar.zst nixlib-8f4d8573c0eab76dd2edca746ea493d106171940.zip |
* Fix a bunch of URLs.
svn path=/nixpkgs/trunk/; revision=9292
Diffstat (limited to 'pkgs/os-specific/linux/pam_console')
-rw-r--r-- | pkgs/os-specific/linux/pam_console/configure.ac | 27 | ||||
-rw-r--r-- | pkgs/os-specific/linux/pam_console/default.nix | 9 |
2 files changed, 30 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/pam_console/configure.ac b/pkgs/os-specific/linux/pam_console/configure.ac new file mode 100644 index 000000000000..0d2d0288acff --- /dev/null +++ b/pkgs/os-specific/linux/pam_console/configure.ac @@ -0,0 +1,27 @@ +AC_PREREQ([2.59]) +AC_INIT([pam_console], [@PV@]) +AM_INIT_AUTOMAKE([pam_console], [@PV@]) + +AC_CONFIG_HEADER([config.h]) + +AC_GNU_SOURCE + +AM_CONDITIONAL([HAVE_VERSIONING], [test "x" = "y"]) + +PKG_CHECK_MODULES([GLIB], [glib-2.0]) + +m4_undefine([AC_PROG_CXX]) +m4_defun([AC_PROG_CXX],[]) +m4_undefine([AC_PROG_F77]) +m4_defun([AC_PROG_F77],[]) +AC_PROG_LIBTOOL + +AC_PROG_YACC + +SECUREDIR=${libdir}/security +SCONFIGDIR=${sysconfdir}/security + +AC_SUBST([SECUREDIR]) +AC_SUBST([SCONFIGDIR]) + +AC_OUTPUT([Makefile]) diff --git a/pkgs/os-specific/linux/pam_console/default.nix b/pkgs/os-specific/linux/pam_console/default.nix index ae759479875b..56c881b33407 100644 --- a/pkgs/os-specific/linux/pam_console/default.nix +++ b/pkgs/os-specific/linux/pam_console/default.nix @@ -2,12 +2,9 @@ let - # Configure script borrowed from the good folks at Gentoo. - configure = fetchurl { - # !!! move this somewhere safe - url = "http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-auth/pam_console/files/pam_console-configure.ac"; - sha256 = "00wilsxhwjjrkfnv2xzvlw4fxwj36ds4shnac3hksbjwb9qivmpl"; - }; + # Configure script borrowed from the good folks at Gentoo + # (http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/sys-auth/pam_console/files/pam_console-configure.ac). + configure = ./configure.ac; in |