changeset 19563:890a71925288 draft

(svn r24470) -Feature [FS#5270]: be a tiny bit GNU autotools compatible, for those who expect all software to follow GNU guidelines
author truebrain <truebrain@openttd.org>
date Tue, 14 Aug 2012 15:47:44 +0000
parents 1719163df01c
children f875a93881f0
files config.lib
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/config.lib
+++ b/config.lib
@@ -219,8 +219,9 @@
 
 
 
-			--prefix-dir)                 prevp_p="prefix-dir";;
-			--prefix-dir=*)               prefix_dir="$optarg";;
+			# Alias --prefix with --prefix-dir, for compatibility with GNU autotools
+			--prefix-dir | --prefix)      prevp_p="prefix-dir";;
+			--prefix-dir=* | --prefix=*)  prefix_dir="$optarg";;
 
 			--binary-dir)                 prevp_p="binary-dir";;
 			--binary-dir=*)               binary_dir="$optarg";;