lists.arthurdejong.org
RSS feed

nss-pam-ldapd branch master updated. 0.9.4-25-gae08830

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd branch master updated. 0.9.4-25-gae08830



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "nss-pam-ldapd".

The branch, master has been updated
       via  ae088307f15a0c0991c07734d500075938a09a51 (commit)
       via  fdbca17b2dba3579518f309b6028cc14ceb693c7 (commit)
      from  9f9a5c52616f443c79a265c16b292b6eb88af8dd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=ae088307f15a0c0991c07734d500075938a09a51

commit ae088307f15a0c0991c07734d500075938a09a51
Author: Tim Rice <tim@multitalents.net>
Date:   Wed Mar 11 21:01:21 2015 -0700

    Use correct PIC arg for non-GCC compilers

diff --git a/common/Makefile.am b/common/Makefile.am
index df90b8e..925f717 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -20,7 +20,7 @@
 noinst_LIBRARIES = libtio.a libprot.a libdict.a libexpr.a
 
 AM_CPPFLAGS=-I$(top_srcdir)
-AM_CFLAGS = -fPIC
+AM_CFLAGS = $(PIC_CFLAGS)
 
 libtio_a_SOURCES = tio.c tio.h
 
diff --git a/compat/Makefile.am b/compat/Makefile.am
index bc8e4cc..0e7ad69 100644
--- a/compat/Makefile.am
+++ b/compat/Makefile.am
@@ -20,7 +20,7 @@
 noinst_LIBRARIES = libcompat.a
 
 AM_CPPFLAGS=-I$(top_srcdir)
-AM_CFLAGS = -fPIC
+AM_CFLAGS = $(PIC_CFLAGS)
 
 EXTRA_DIST = getopt_long.c getopt_long.h \
              ether.c ether.h \
diff --git a/configure.ac b/configure.ac
index a0b85c2..92be7f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -106,9 +106,8 @@ AC_ARG_ENABLE(debug,
                              [enable extensive debugging and logging]),
               [if test "x$enableval" != "xno" ; then CFLAGS="-g -DDEBUG 
$CFLAGS" ; fi])
 
-DESIRED_CFLAGS=""
-
 # check for extra compiler warnings
+DESIRED_CFLAGS=""
 AC_ARG_ENABLE(warnings,
               AS_HELP_STRING([--enable-warnings],
                              [enable extra compiler warnings (gcc)]),
@@ -136,6 +135,18 @@ do
   fi
 done
 
+# check for Position Independent Code compiler option
+PIC_CFLAGS=""
+if test "$ac_cv_prog_gcc" = "yes"
+then
+  PIC_CFLAGS="-fPIC"
+else
+  case "$target_os" in
+    sysv5*) PIC_CFLAGS="-KPIC" ;;
+  esac
+fi
+AC_SUBST(PIC_CFLAGS)
+
 # add --disable-maintainer-mode option
 AM_MAINTAINER_MODE([enable])
 
diff --git a/nss/Makefile.am b/nss/Makefile.am
index 1a8f35a..5a2967f 100644
--- a/nss/Makefile.am
+++ b/nss/Makefile.am
@@ -23,7 +23,7 @@
 noinst_PROGRAMS = nss_ldap.so
 
 AM_CPPFLAGS=-I$(top_srcdir)
-AM_CFLAGS = -fPIC
+AM_CFLAGS = $(PIC_CFLAGS)
 
 nss_ldap_so_SOURCES = common.c common.h prototypes.h solnss.h \
                       ../nslcd.h ../common/nslcd-prot.h \
diff --git a/pam/Makefile.am b/pam/Makefile.am
index ce2fabf..f054e04 100644
--- a/pam/Makefile.am
+++ b/pam/Makefile.am
@@ -21,7 +21,7 @@
 noinst_PROGRAMS = pam_ldap.so
 
 AM_CPPFLAGS=-I$(top_srcdir)
-AM_CFLAGS = -fPIC
+AM_CFLAGS = $(PIC_CFLAGS)
 
 pam_ldap_so_SOURCES = ../nslcd.h ../common/nslcd-prot.h \
                       ../compat/attrs.h pam.c common.h

http://arthurdejong.org/git/nss-pam-ldapd/commit/?id=fdbca17b2dba3579518f309b6028cc14ceb693c7

commit fdbca17b2dba3579518f309b6028cc14ceb693c7
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Mar 22 14:21:18 2015 +0100

    Update files from latest automake

diff --git a/config.sub b/config.sub
index d654d03..bba4efb 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
 # Configuration validation subroutine script.
 #   Copyright 1992-2014 Free Software Foundation, Inc.
 
-timestamp='2014-05-01'
+timestamp='2014-09-11'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -302,6 +302,7 @@ case $basic_machine in
        | pdp10 | pdp11 | pj | pjl \
        | powerpc | powerpc64 | powerpc64le | powerpcle \
        | pyramid \
+       | riscv32 | riscv64 \
        | rl78 | rx \
        | score \
        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | 
shbe | shle | sh[1234]le | sh3ele \
@@ -828,6 +829,10 @@ case $basic_machine in
                basic_machine=powerpc-unknown
                os=-morphos
                ;;
+       moxiebox)
+               basic_machine=moxie-unknown
+               os=-moxiebox
+               ;;
        msdos)
                basic_machine=i386-pc
                os=-msdos
@@ -1373,7 +1378,7 @@ case $os in
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* 
\
              | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
-             | -uxpv* | -beos* | -mpeix* | -udk* \
+             | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
              | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \

-----------------------------------------------------------------------

Summary of changes:
 common/Makefile.am |    2 +-
 compat/Makefile.am |    2 +-
 config.sub         |    9 +++++++--
 configure.ac       |   15 +++++++++++++--
 nss/Makefile.am    |    2 +-
 pam/Makefile.am    |    2 +-
 6 files changed, 24 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
nss-pam-ldapd
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/