2006-11-27 14:05:54 +01:00
|
|
|
dnl Copyright (c) 2006, Red Hat, Inc.
|
|
|
|
dnl
|
|
|
|
dnl This program is free software; you can redistribute it and/or modify
|
|
|
|
dnl it under the terms of the GNU General Public License as published by
|
|
|
|
dnl the Free Software Foundation; either version 2 of the License, or
|
|
|
|
dnl (at your option) any later version.
|
|
|
|
dnl
|
|
|
|
dnl A copy of the GNU General Public License can be found at
|
|
|
|
dnl http://www.gnu.org/
|
|
|
|
dnl
|
|
|
|
dnl Written by Christopher Faylor <cgf@redhat.com>
|
|
|
|
dnl Changed for lsa subdir by Corinna Vinschen <corinna@vinschen.de>
|
|
|
|
|
|
|
|
dnl Autoconf configure script for Cygwin utilities.
|
|
|
|
dnl
|
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
|
|
AC_PREREQ(2.59)
|
|
|
|
AC_INIT(Makefile.in)
|
|
|
|
|
|
|
|
AC_CONFIG_AUX_DIR(../..)
|
|
|
|
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
|
|
|
|
|
|
LIB_AC_PROG_CC
|
|
|
|
|
2008-10-13 01:53:26 +02:00
|
|
|
NO_CYGWIN="$(cd ${srcdir}/../utils; pwd)/mingw"
|
|
|
|
|
|
|
|
AC_SUBST(NO_CYGWIN)
|
2006-11-27 14:05:54 +01:00
|
|
|
AC_ARG_PROGRAM
|
|
|
|
|
|
|
|
if test "x$cross_compiling" = "xyes"; then
|
|
|
|
if test "x$program_transform_name" = "xs,x,x,"; then
|
|
|
|
program_transform_name=""
|
|
|
|
fi
|
|
|
|
if test "x$program_transform_name" = "x"; then
|
|
|
|
program_transform_name="s,^,$host-,"
|
|
|
|
else
|
|
|
|
program_transform_name="$program_transform_name -e s,^,$host-,"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile cyglsa.def:cyglsa.din)
|