mirror of
https://github.com/VARCem/PDCurses.git
synced 2026-09-24 15:55:14 +00:00
"source version" doesn't work with the /bin/sh in OpenBSD. :-/ There
seems no choice but to hardwire the version number in xcurses-config.in.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -3012,8 +3012,6 @@ s%@includedir@%$includedir%g
|
||||
s%@oldincludedir@%$oldincludedir%g
|
||||
s%@infodir@%$infodir%g
|
||||
s%@mandir@%$mandir%g
|
||||
s%@VER@%$VER%g
|
||||
s%@VERDOT@%$VERDOT%g
|
||||
s%@CC@%$CC%g
|
||||
s%@host@%$host%g
|
||||
s%@host_alias@%$host_alias%g
|
||||
|
||||
@@ -2,10 +2,6 @@ dnl Process this file with autoconf to produce a configure script.
|
||||
AC_INIT(curspriv.h)
|
||||
AC_PREFIX_DEFAULT(/usr)
|
||||
|
||||
source version
|
||||
|
||||
AC_SUBST(VER)
|
||||
AC_SUBST(VERDOT)
|
||||
AC_SUBST(prefix)
|
||||
|
||||
dnl ---------------------- check for C compiler -----------------
|
||||
|
||||
@@ -3,8 +3,11 @@
|
||||
# The idea to this kind of setup info script was stolen from numerous
|
||||
# other packages, such as neon, libxml and gnome.
|
||||
#
|
||||
# $Id: xcurses-config.in,v 1.5 2006/02/17 03:25:33 wmcbrine Exp $
|
||||
# $Id: xcurses-config.in,v 1.6 2006/03/11 03:15:12 wmcbrine Exp $
|
||||
#
|
||||
|
||||
verdot=2.8
|
||||
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
includedir=@includedir@/xcurses
|
||||
@@ -23,7 +26,7 @@ usage()
|
||||
echo " --prefix PDCurses install prefix"
|
||||
echo " [$prefix]"
|
||||
echo " --version output version information"
|
||||
echo " [@VERDOT@]"
|
||||
echo " [$verdot]"
|
||||
exit $1
|
||||
}
|
||||
|
||||
@@ -46,7 +49,7 @@ while test $# -gt 0; do
|
||||
;;
|
||||
|
||||
--version)
|
||||
echo @VERDOT@
|
||||
echo $verdot
|
||||
exit 0
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user