source: openpam/trunk/autogen.des

Last change on this file was 938, checked in by Dag-Erling Smørgrav, 3 years ago

Switch from $Id$ to $OpenPAM$.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to OpenPAM=%I
File size: 663 bytes
Line 
1#!/bin/sh
2#
3# $OpenPAM: autogen.des 938 2017-04-30 21:34:42Z des $
4#
5
6set -ex
7
8. ./autogen.sh
9
10# autoconf prior to 2.62 has issues with zsh 4.2 and newer
11export CONFIG_SHELL=/bin/sh
12
13# BullseyeCoverage needs to know exactly which compiler we're using
14if [ -z "$CC" -a -z "$CPP" -a -z "$CXX" ] ; then
15        if $(which clang clang++ >/dev/null) ; then
16                export CC=${CC:-clang}
17                export CPP=${CPP:-clang -E}
18                export CXX=${CXX:-clang++}
19        elif $(which gcc g++ >/dev/null) ; then
20                export CC=${CC:-gcc}
21                export CPP=${CPP:-gcc -E}
22                export CXX=${CXX:-g++}
23        fi
24fi
25
26./configure \
27        --with-doc \
28        --with-pam-unix \
29        --with-pamtest \
30        --with-su \
31        --enable-debug \
32        --enable-developer-warnings \
33        --enable-werror \
34        "$@"
Note: See TracBrowser for help on using the repository browser.