dnl
dnl Author: Thomas E. Dickey 1995-on
dnl
-dnl $Id: configure.in,v 1.590 2014/11/15 01:35:36 tom Exp $
+dnl $Id: configure.in,v 1.591 2014/12/14 00:10:43 tom Exp $
dnl Process this file with autoconf to produce a configure script.
dnl
dnl See http://invisible-island.net/autoconf/ for additional information.
dnl
dnl ---------------------------------------------------------------------------
AC_PREREQ(2.52.20030208)
-AC_REVISION($Revision: 1.590 $)
+AC_REVISION($Revision: 1.591 $)
AC_INIT(ncurses/base/lib_initscr.c)
AC_CONFIG_HEADER(include/ncurses_cfg.h:include/ncurses_cfg.hin)
CF_PKG_CONFIG
CF_WITH_PKG_CONFIG_LIBDIR
CF_ENABLE_PC_FILES
+if test -z "$MAKE_PC_FILES"
+then
+ AC_MSG_CHECKING(for suffix to add to pc-files)
+AC_ARG_WITH(pc-suffix,
+ [ --with-pc-suffix suffixes pc-files],
+ [case "x$withval" in #(vi
+ xyes|xno) #(vi
+ PC_MODULE_SUFFIX=
+ ;;
+ *) PC_MODULE_SUFFIX="$withval"
+ ;;
+ esac])
+ test -z "$PC_MODULE_SUFFIX" && PC_MODULE_SUFFIX=none
+ AC_MSG_RESULT($PC_MODULE_SUFFIX)
+ test "$PC_MODULE_SUFFIX" = none && PC_MODULE_SUFFIX=
+ AC_SUBST(PC_MODULE_SUFFIX)
+fi
AC_MSG_CHECKING(if we should assume mixed-case filenames)
AC_ARG_ENABLE(mixed-case,