2014-08-16 05:24:35 +08:00
|
|
|
dnl Autoconf configure script for Cygwin utilities.
|
2006-11-27 21:05:54 +08:00
|
|
|
dnl
|
2014-08-16 05:24:35 +08: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 21:05:54 +08: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-04-01 02:04:18 +08:00
|
|
|
AC_PREREQ([2.59])
|
2016-03-30 20:09:19 +08:00
|
|
|
AC_INIT([Cygwin Lsaauth],[0],[cygwin@cygwin.com],[cygwin],[https://cygwin.com])
|
2014-08-16 05:24:35 +08:00
|
|
|
AC_CONFIG_SRCDIR(Makefile.in)
|
2006-11-27 21:05:54 +08:00
|
|
|
|
|
|
|
AC_CONFIG_AUX_DIR(../..)
|
|
|
|
|
2012-10-24 17:43:46 +08:00
|
|
|
AC_NO_EXECUTABLES
|
2016-03-30 20:09:19 +08:00
|
|
|
AC_CANONICAL_TARGET
|
2006-11-27 21:05:54 +08:00
|
|
|
|
2016-04-01 02:04:18 +08:00
|
|
|
AC_PROG_CC
|
2006-11-27 21:05:54 +08:00
|
|
|
|
2013-04-23 17:44:36 +08: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 07:53:26 +08:00
|
|
|
|
2013-12-04 04:51:05 +08: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 21:05:54 +08:00
|
|
|
|
2012-10-24 17:35:38 +08:00
|
|
|
AC_ARG_PROGRAM
|
2006-11-27 21:05:54 +08:00
|
|
|
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
2016-04-01 02:04:18 +08:00
|
|
|
AC_CONFIG_FILES([Makefile cyglsa.def:cyglsa.din])
|
|
|
|
AC_OUTPUT
|