-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate buildPam.sh into install target
Bugs: #13
- Loading branch information
Showing
8 changed files
with
56 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh -x | ||
|
||
umask 022 | ||
autoreconf -fiv |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,67 @@ | ||
# -*- Autoconf -*- | ||
# Process this file with autoconf to produce a configure script. | ||
|
||
dnl Process this file with autoconf to produce a configure script. | ||
AC_PREREQ([2.65]) | ||
AC_INIT([pam_aad], [0.8], [info@cyberninjas.com]) | ||
|
||
AC_INIT([pam_aad], [0.0.1], [info@cyberninjas.com]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
AC_CANONICAL_HOST | ||
|
||
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects]) | ||
AM_INIT_AUTOMAKE([1.11 foreign subdir-objects -Wall -Werror]) | ||
AM_SILENT_RULES([yes]) | ||
AM_MAINTAINER_MODE | ||
|
||
AC_USE_SYSTEM_EXTENSIONS | ||
# Checks for programs. | ||
|
||
dnl Checks for programs. | ||
AC_PROG_CC_C_O | ||
AM_PROG_AR | ||
AC_LIBTOOL_WIN32_DLL | ||
AC_DISABLE_STATIC | ||
AC_PROG_LIBTOOL | ||
|
||
LT_INIT([disable-static]) | ||
AC_ENABLE_STATIC([no]) | ||
AC_ENABLE_SHARED([yes]) | ||
|
||
AC_ARG_ENABLE([man], | ||
[AS_HELP_STRING([--disable-man], [Disable man page generation])], | ||
[:], | ||
[enable_man=yes] | ||
) | ||
[AS_HELP_STRING([--disable-man], [Disable man page generation])], | ||
[:], | ||
[enable_man=yes] | ||
) | ||
|
||
AC_SUBST(PAMDIR, "\$(exec_prefix)/lib/security") | ||
AC_ARG_WITH(pam-dir, | ||
AC_HELP_STRING([--with-pam-dir=DIR], | ||
[Where to install PAM module [[PREFIX/lib/security]]]), | ||
[case "${withval}" in | ||
/*) PAMDIR="${withval}";; | ||
./*|../*) AC_MSG_ERROR(Bad value for --with-pam-dir);; | ||
*) PAMDIR="\$(exec_prefix)/lib/${withval}";; | ||
esac]) | ||
AC_MSG_NOTICE([PAM installation path $PAMDIR]) | ||
|
||
# Checks for libraries. | ||
dnl Checks for libraries. | ||
AC_CHECK_LIB([crypto], [CRYPTO_new_ex_data]) | ||
AC_CHECK_LIB([jwt], [jwt_set_alg]) | ||
AC_CHECK_LIB([m], [cos]) | ||
AC_CHECK_LIB([pam], [pam_get_user]) | ||
AC_CHECK_LIB([ssl], [SSL_library_init]) | ||
|
||
# Checks for header files. | ||
dnl Checks for header files. | ||
AC_CHECK_HEADERS([float.h limits.h stddef.h stdlib.h string.h syslog.h unistd.h]) | ||
|
||
# Checks for typedefs, structures, and compiler characteristics. | ||
dnl Checks for typedefs, structures, and compiler characteristics. | ||
AC_CHECK_HEADER_STDBOOL | ||
AC_TYPE_SIZE_T | ||
|
||
# Checks for library functions. | ||
dnl Checks for library functions. | ||
AC_FUNC_MALLOC | ||
AC_CHECK_FUNCS([floor memset pow strchr strdup strstr]) | ||
|
||
AC_CONFIG_FILES([Makefile]) | ||
AC_OUTPUT | ||
|
||
echo " | ||
$PACKAGE_NAME version $PACKAGE_VERSION | ||
Prefix.........: $prefix | ||
Debug Build....: $debug | ||
C Compiler.....: $CC $CFLAGS | ||
Linker.........: $LD $LDFLAGS $LIBS | ||
" | ||
AC_MSG_NOTICE([Summary of build options: | ||
Version: ${VERSION} | ||
Host type: ${host} | ||
Install prefix: ${prefix} | ||
Compiler: ${CC} | ||
Library types: Shared=${enable_shared}, Static=${enable_static} | ||
PAM: ${PAMDIR} | ||
]) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters