shellinabox/configure.ac
zodiac 9dd2367209 Released version 2.4:
Fixed fatal compiler warning if compiling without SSL support.

Fixed cursor hiding and showing

Fixed various rendering glitches reported by Phil Endecott of Anyterm
(http://anyterm.org) fame.

Made code more portable. In particular, fixed sed scripts.

Added explicit config.h file, instead of passing configuration options on
the compiler's command line.

Fixed compilation issues on BSD systems. Code is still untested and
unsupported on non-Linux systems at this time.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@61 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-13 01:58:01 +00:00

27 lines
894 B
Text

AC_PREREQ(2.57)
AC_INIT(shellinabox, 2.4, markus@shellinabox.com)
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
AC_C_CONST
AC_PROG_GCC_TRADITIONAL
AC_CHECK_HEADERS([openssl/bio.h openssl/err.h openssl/ssl.h pthread.h \
security/pam_appl.h security/pam_misc.h sys/prctrl.h \
utmpx.h])
AC_CHECK_FUNCS(dlopen, [],
[AC_CHECK_LIB(dl, dlopen, LIBS="-ldl $LIBS")])
AC_TRY_LINK([#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdlib.h>],
[ptsname_r(0, 0, 0);],
[AC_DEFINE(HAVE_PTSNAME_R, 1,
Define to 1 if you have a re-entrant version of ptsname)])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT