summaryrefslogtreecommitdiff
path: root/configure.ac
blob: 2812d67ee9b7e313bbe12b3ff85a3c477d739ff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
AC_INIT(radsecproxy, 1.1-beta, venaas@uninett.no)
AM_INIT_AUTOMAKE
AC_PROG_CC
AM_PROG_CC_C_O
dnl Check if we're on Solaris and set CFLAGS accordingly
AC_CANONICAL_SYSTEM
case "${target_os}" in
  solaris*)
    TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
    TARGET_LDFLAGS="-lsocket"
    ;;
  *)
    TARGET_CFLAGS=""
    TARGET_LDFLAGS=""
  esac
AC_SUBST(TARGET_CFLAGS)
AC_SUBST(TARGET_LDFLAGS)
AX_CHECK_SSL
AC_OUTPUT(Makefile)