2014-08-15 23:24:35 +02:00
|
|
|
dnl Autoconf configure script for Cygwin utilities.
|
2006-11-27 14:05:54 +01:00
|
|
|
dnl
|
2014-08-15 23:24:35 +02:00
|
|
|
dnl This file is part of Cygwin.
|
|
|
|
dnl
|
|
|
|
dnl This software is a copyrighted work licensed under the terms of the
|
|
|
|
dnl Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
dnl details.
|
2006-11-27 14:05:54 +01:00
|
|
|
dnl
|
|
|
|
dnl Written by Christopher Faylor <cgf@redhat.com>
|
|
|
|
dnl Changed for lsa subdir by Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
2016-03-31 20:04:18 +02:00
|
|
|
AC_PREREQ([2.59])
|
2016-03-30 14:09:19 +02:00
|
|
|
AC_INIT([Cygwin Lsaauth],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
|
2014-08-15 23:24:35 +02:00
|
|
|
AC_CONFIG_SRCDIR(Makefile.in)
|
2006-11-27 14:05:54 +01:00
|
|
|
|
|
|
|
AC_CONFIG_AUX_DIR(../..)
|
|
|
|
|
2012-10-24 11:43:46 +02:00
|
|
|
AC_NO_EXECUTABLES
|
2016-03-30 14:09:19 +02:00
|
|
|
AC_CANONICAL_TARGET
|
2006-11-27 14:05:54 +01:00
|
|
|
|
2016-03-31 20:04:18 +02:00
|
|
|
AC_PROG_CC
|
2006-11-27 14:05:54 +01:00
|
|
|
|
2013-04-23 11:44:36 +02:00
|
|
|
case "$target_cpu" in
|
|
|
|
i?86)
|
|
|
|
AC_CHECK_PROGS(MINGW32_CC, i686-w64-mingw32-gcc)
|
|
|
|
test -z "$MINGW32_CC" && AC_MSG_ERROR([no acceptable mingw32 cc found in \$PATH])
|
|
|
|
;;
|
|
|
|
esac
|
2008-10-13 01:53:26 +02:00
|
|
|
|
2013-12-03 21:51:05 +01:00
|
|
|
AC_CHECK_PROGS(MINGW64_CC, x86_64-w64-mingw32-gcc)
|
|
|
|
test -z "$MINGW64_CC" && AC_MSG_ERROR([no acceptable mingw64 cc found in \$PATH])
|
2006-11-27 14:05:54 +01:00
|
|
|
|
2012-10-24 11:35:38 +02:00
|
|
|
AC_ARG_PROGRAM
|
2006-11-27 14:05:54 +01:00
|
|
|
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
2016-03-31 20:04:18 +02:00
|
|
|
AC_CONFIG_FILES([Makefile cyglsa.def:cyglsa.din])
|
|
|
|
AC_OUTPUT
|