$NetBSD: patch-aa,v 1.2 2008/04/09 00:38:51 reed Exp $ --- configure.orig 2008-02-24 13:10:42.000000000 -0600 +++ configure 2008-04-08 12:54:40.000000000 -0500 @@ -11,6 +11,7 @@ args=$* no_create= progname=ed +program_prefix= progversion=0.9 srctrigger=ed.h @@ -58,6 +59,7 @@ echo " --infodir=DIR info files directory [${infodir}]" echo " --mandir=DIR man pages directory [${mandir}]" echo " --sysconfdir=DIR read-only single-machine data directory [${sysconfdir}]" + echo " --program-prefix=NAME install program and documentation prefixed with NAME" echo " CC=COMPILER C compiler to use [gcc]" echo " CXX=COMPILER C++ compiler to use [g++]" echo " CPPFLAGS=OPTIONS command line options for the preprocessor [${CPPFLAGS}]" @@ -71,7 +73,7 @@ exit 0 ;; --srcdir* | --sr*) srcdir=`echo ${optarg} | sed -e 's,/$,,'` ;; - --prefix* | --pr*) + --prefix* | --pre*) prefix=`echo ${optarg} | sed -e 's,/$,,'` ;; --exec-prefix* | --ex*) exec_prefix=`echo ${optarg} | sed -e 's,/$,,'` ;; @@ -85,6 +87,8 @@ mandir=`echo ${optarg} | sed -e 's,/$,,'` ;; --sysconfdir* | --sy*) sysconfdir=`echo ${optarg} | sed -e 's,/$,,'` ;; + --program-prefix* | --pro*) + program_prefix=`echo ${optarg} | sed -e 's,/$,,'` ;; --no-create | --no-c*) no_create=yes ;; @@ -188,6 +192,7 @@ # to copy, distribute and modify it. progname = ${progname} +program_prefix = ${program_prefix} progversion = ${progversion} VPATH = ${srcdir} prefix = ${prefix}