config.lib
changeset 10059 7a8d30d55bdc
parent 10058 83345e93c7fb
child 10060 e4d56b76c100
--- a/config.lib	Tue Sep 02 15:56:31 2008 +0000
+++ b/config.lib	Tue Sep 02 15:59:21 2008 +0000
@@ -149,7 +149,7 @@
 		optarg=`expr "x$p" : 'x[^=]*=\(.*\)'`
 
 		case "$p" in
-			--help | -h)                  SHOW_HELP="1";;
+			--help | -h)                  showhelp; exit 0;;
 
 			--config-log)                 prev_p="config_log";;
 			--config-log=*)               config_log="$optarg";;
@@ -2466,7 +2466,7 @@
 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
 	echo "  --awk=AWK                      the awk to use in configure [awk]"
 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
-	echo "  --os=OS                        the OS we are compiling for [$os]"
+	echo "  --os=OS                        the OS we are compiling for [DETECT]"
 	echo "                                 DETECT/UNIX/OSX/FREEBSD/OPENBSD/NETBSD/"
 	echo "                                 MORPHOS/HPUX/BEOS/SUNOS/CYGWIN/MINGW/OS2/"
 	echo "                                 WINCE/PSP"
@@ -2476,17 +2476,17 @@
 	echo ""
 	echo "Paths:"
 	echo "  --prefix-dir=dir               specifies the prefix for all installed"
-	echo "                                 files [$prefix_dir]"
+	echo "                                 files [/usr/local]"
 	echo "  --binary-dir=dir               location of the binary. Will be prefixed"
-	echo "                                 with the prefix-dir [$binary_dir]"
+	echo "                                 with the prefix-dir [games]"
 	echo "  --data-dir=dir                 location of data files (lang, data, gm)."
 	echo "                                 Will be prefixed with the prefix-dir"
-	echo "                                 [$data_dir]"
+	echo "                                 [share/games/openttd]"
 	echo "  --doc-dir=dir                  location of the doc files"
 	echo "                                 Will be prefixed with the prefix-dir"
 	echo "                                 [$doc_dir]"
 	echo "  --icon-dir=dir                 location of icons. Will be prefixed"
-	echo "                                 with the prefix-dir [$icon_dir]"
+	echo "                                 with the prefix-dir [share/pixmaps]"
 	echo "  --icon-theme-dir=dir           location of icon theme."
 	echo "                                 Will be prefixed with the prefix-dir"
 	echo "                                 and postfixed with size-dirs [$icon_theme_dir]"
@@ -2495,13 +2495,13 @@
 	echo "                                 [$man_dir]"
 	echo "  --menu-dir=dir                 location of the menu item. (UNIX only, except OSX)"
 	echo "                                 Will be prefixed with the prefix-dir"
-	echo "                                 [$menu_dir]"
+	echo "                                 [share/applications]"
 	echo "  --personal-dir=dir             location of the personal directory"
-	echo "                                 [$personal_dir]"
+	echo "                                 [os-dependent default]"
 	echo "  --shared-dir=dir               location of shared data files"
-	echo "                                 [$shared_dir]"
+	echo "                                 [os-dependent default]"
 	echo "  --install-dir=dir              specifies the root to install to."
-	echo "                                 Useful to install into jails [$install_dir]"
+	echo "                                 Useful to install into jails [/]"
 	echo ""
 	echo "Features and packages:"
 	echo "  --enable-debug[=LVL]           enable debug-mode (LVL=[0123], 0 is release)"