config.lib
changeset 10059 7a8d30d55bdc
parent 10058 83345e93c7fb
child 10060 e4d56b76c100
equal deleted inserted replaced
10058:83345e93c7fb 10059:7a8d30d55bdc
   147 		fi
   147 		fi
   148 
   148 
   149 		optarg=`expr "x$p" : 'x[^=]*=\(.*\)'`
   149 		optarg=`expr "x$p" : 'x[^=]*=\(.*\)'`
   150 
   150 
   151 		case "$p" in
   151 		case "$p" in
   152 			--help | -h)                  SHOW_HELP="1";;
   152 			--help | -h)                  showhelp; exit 0;;
   153 
   153 
   154 			--config-log)                 prev_p="config_log";;
   154 			--config-log)                 prev_p="config_log";;
   155 			--config-log=*)               config_log="$optarg";;
   155 			--config-log=*)               config_log="$optarg";;
   156 
   156 
   157 			--build)                      prev_p="build";;
   157 			--build)                      prev_p="build";;
  2464 	echo "                                 on HOST [BUILD]"
  2464 	echo "                                 on HOST [BUILD]"
  2465 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  2465 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  2466 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  2466 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  2467 	echo "  --awk=AWK                      the awk to use in configure [awk]"
  2467 	echo "  --awk=AWK                      the awk to use in configure [awk]"
  2468 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  2468 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  2469 	echo "  --os=OS                        the OS we are compiling for [$os]"
  2469 	echo "  --os=OS                        the OS we are compiling for [DETECT]"
  2470 	echo "                                 DETECT/UNIX/OSX/FREEBSD/OPENBSD/NETBSD/"
  2470 	echo "                                 DETECT/UNIX/OSX/FREEBSD/OPENBSD/NETBSD/"
  2471 	echo "                                 MORPHOS/HPUX/BEOS/SUNOS/CYGWIN/MINGW/OS2/"
  2471 	echo "                                 MORPHOS/HPUX/BEOS/SUNOS/CYGWIN/MINGW/OS2/"
  2472 	echo "                                 WINCE/PSP"
  2472 	echo "                                 WINCE/PSP"
  2473 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE)"
  2473 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE)"
  2474 	echo "  --revision=rXXXX               overwrite the revision detection."
  2474 	echo "  --revision=rXXXX               overwrite the revision detection."
  2475 	echo "                                 Use with care!"
  2475 	echo "                                 Use with care!"
  2476 	echo ""
  2476 	echo ""
  2477 	echo "Paths:"
  2477 	echo "Paths:"
  2478 	echo "  --prefix-dir=dir               specifies the prefix for all installed"
  2478 	echo "  --prefix-dir=dir               specifies the prefix for all installed"
  2479 	echo "                                 files [$prefix_dir]"
  2479 	echo "                                 files [/usr/local]"
  2480 	echo "  --binary-dir=dir               location of the binary. Will be prefixed"
  2480 	echo "  --binary-dir=dir               location of the binary. Will be prefixed"
  2481 	echo "                                 with the prefix-dir [$binary_dir]"
  2481 	echo "                                 with the prefix-dir [games]"
  2482 	echo "  --data-dir=dir                 location of data files (lang, data, gm)."
  2482 	echo "  --data-dir=dir                 location of data files (lang, data, gm)."
  2483 	echo "                                 Will be prefixed with the prefix-dir"
  2483 	echo "                                 Will be prefixed with the prefix-dir"
  2484 	echo "                                 [$data_dir]"
  2484 	echo "                                 [share/games/openttd]"
  2485 	echo "  --doc-dir=dir                  location of the doc files"
  2485 	echo "  --doc-dir=dir                  location of the doc files"
  2486 	echo "                                 Will be prefixed with the prefix-dir"
  2486 	echo "                                 Will be prefixed with the prefix-dir"
  2487 	echo "                                 [$doc_dir]"
  2487 	echo "                                 [$doc_dir]"
  2488 	echo "  --icon-dir=dir                 location of icons. Will be prefixed"
  2488 	echo "  --icon-dir=dir                 location of icons. Will be prefixed"
  2489 	echo "                                 with the prefix-dir [$icon_dir]"
  2489 	echo "                                 with the prefix-dir [share/pixmaps]"
  2490 	echo "  --icon-theme-dir=dir           location of icon theme."
  2490 	echo "  --icon-theme-dir=dir           location of icon theme."
  2491 	echo "                                 Will be prefixed with the prefix-dir"
  2491 	echo "                                 Will be prefixed with the prefix-dir"
  2492 	echo "                                 and postfixed with size-dirs [$icon_theme_dir]"
  2492 	echo "                                 and postfixed with size-dirs [$icon_theme_dir]"
  2493 	echo "  --man-dir=dir                  location of the manual page (UNIX only)"
  2493 	echo "  --man-dir=dir                  location of the manual page (UNIX only)"
  2494 	echo "                                 Will be prefixed with the prefix-dir"
  2494 	echo "                                 Will be prefixed with the prefix-dir"
  2495 	echo "                                 [$man_dir]"
  2495 	echo "                                 [$man_dir]"
  2496 	echo "  --menu-dir=dir                 location of the menu item. (UNIX only, except OSX)"
  2496 	echo "  --menu-dir=dir                 location of the menu item. (UNIX only, except OSX)"
  2497 	echo "                                 Will be prefixed with the prefix-dir"
  2497 	echo "                                 Will be prefixed with the prefix-dir"
  2498 	echo "                                 [$menu_dir]"
  2498 	echo "                                 [share/applications]"
  2499 	echo "  --personal-dir=dir             location of the personal directory"
  2499 	echo "  --personal-dir=dir             location of the personal directory"
  2500 	echo "                                 [$personal_dir]"
  2500 	echo "                                 [os-dependent default]"
  2501 	echo "  --shared-dir=dir               location of shared data files"
  2501 	echo "  --shared-dir=dir               location of shared data files"
  2502 	echo "                                 [$shared_dir]"
  2502 	echo "                                 [os-dependent default]"
  2503 	echo "  --install-dir=dir              specifies the root to install to."
  2503 	echo "  --install-dir=dir              specifies the root to install to."
  2504 	echo "                                 Useful to install into jails [$install_dir]"
  2504 	echo "                                 Useful to install into jails [/]"
  2505 	echo ""
  2505 	echo ""
  2506 	echo "Features and packages:"
  2506 	echo "Features and packages:"
  2507 	echo "  --enable-debug[=LVL]           enable debug-mode (LVL=[0123], 0 is release)"
  2507 	echo "  --enable-debug[=LVL]           enable debug-mode (LVL=[0123], 0 is release)"
  2508 	echo "  --enable-desync-debug=[LVL]    enable desync debug options (LVL=[012], 0 is none"
  2508 	echo "  --enable-desync-debug=[LVL]    enable desync debug options (LVL=[012], 0 is none"
  2509 	echo "  --enable-profiling             enables profiling"
  2509 	echo "  --enable-profiling             enables profiling"