config.lib
changeset 9686 522d788d73f7
parent 9685 e2ccbbfd3583
child 9687 07373ab2ac06
equal deleted inserted replaced
9685:e2ccbbfd3583 9686:522d788d73f7
   142 		fi
   142 		fi
   143 
   143 
   144 		optarg=`expr "x$p" : 'x[^=]*=\(.*\)'`
   144 		optarg=`expr "x$p" : 'x[^=]*=\(.*\)'`
   145 
   145 
   146 		case "$p" in
   146 		case "$p" in
   147 			--help | -h)                  showhelp; exit 0;;
   147 			--help | -h)                  SHOW_HELP="1";;
   148 
   148 
   149 			--config-log)                 prev_p="config_log";;
   149 			--config-log)                 prev_p="config_log";;
   150 			--config-log=*)               config_log="$optarg";;
   150 			--config-log=*)               config_log="$optarg";;
   151 
   151 
   152 			--build)                      prev_p="build";;
   152 			--build)                      prev_p="build";;
  2371 	echo "                                 on HOST [BUILD]"
  2371 	echo "                                 on HOST [BUILD]"
  2372 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  2372 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  2373 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  2373 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  2374 	echo "  --awk=AWK                      the awk to use in configure [awk]"
  2374 	echo "  --awk=AWK                      the awk to use in configure [awk]"
  2375 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  2375 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  2376 	echo "  --os=OS                        the OS we are compiling for [DETECT]"
  2376 	echo "  --os=OS                        the OS we are compiling for [$os]"
  2377 	echo "                                 DETECT/UNIX/OSX/FREEBSD/OPENBSD/NETBSD/"
  2377 	echo "                                 DETECT/UNIX/OSX/FREEBSD/OPENBSD/NETBSD/"
  2378 	echo "                                 MORPHOS/HPUX/BEOS/SUNOS/CYGWIN/MINGW/OS2/"
  2378 	echo "                                 MORPHOS/HPUX/BEOS/SUNOS/CYGWIN/MINGW/OS2/"
  2379 	echo "                                 WINCE/PSP"
  2379 	echo "                                 WINCE/PSP"
  2380 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE)"
  2380 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE)"
  2381 	echo "  --revision=rXXXX               overwrite the revision detection."
  2381 	echo "  --revision=rXXXX               overwrite the revision detection."
  2382 	echo "                                 Use with care!"
  2382 	echo "                                 Use with care!"
  2383 	echo ""
  2383 	echo ""
  2384 	echo "Paths:"
  2384 	echo "Paths:"
  2385 	echo "  --prefix-dir=dir               specifies the prefix for all installed"
  2385 	echo "  --prefix-dir=dir               specifies the prefix for all installed"
  2386 	echo "                                 files [/usr/local]"
  2386 	echo "                                 files [$prefix_dir]"
  2387 	echo "  --binary-dir=dir               location of the binary. Will be prefixed"
  2387 	echo "  --binary-dir=dir               location of the binary. Will be prefixed"
  2388 	echo "                                 with the prefix-dir [games]"
  2388 	echo "                                 with the prefix-dir [$binary_dir]"
  2389 	echo "  --data-dir=dir                 location of data files (lang, data, gm)."
  2389 	echo "  --data-dir=dir                 location of data files (lang, data, gm)."
  2390 	echo "                                 Will be prefixed with the prefix-dir"
  2390 	echo "                                 Will be prefixed with the prefix-dir"
  2391 	echo "                                 [share/games/openttd]"
  2391 	echo "                                 [$data_dir]"
  2392 	echo "  --icon-dir=dir                 location of icons. Will be prefixed"
  2392 	echo "  --icon-dir=dir                 location of icons. Will be prefixed"
  2393 	echo "                                 with the prefix-dir [share/pixmaps]"
  2393 	echo "                                 with the prefix-dir [$icon_dir]"
  2394 	echo "  --menu-dir=dir                 location of the menu item. (UNIX only, except OSX)"
  2394 	echo "  --menu-dir=dir                 location of the menu item. (UNIX only, except OSX)"
  2395 	echo "                                 Will be prefixed with the prefix-dir"
  2395 	echo "                                 Will be prefixed with the prefix-dir"
  2396 	echo "                                 [share/applications]"
  2396 	echo "                                 [$menu_dir]"
  2397 	echo "  --personal-dir=dir             location of the personal directory"
  2397 	echo "  --personal-dir=dir             location of the personal directory"
  2398 	echo "                                 [os-dependent default]"
  2398 	echo "                                 [$personal_dir]"
  2399 	echo "  --shared-dir=dir               location of shared data files"
  2399 	echo "  --shared-dir=dir               location of shared data files"
  2400 	echo "                                 [os-dependent default]"
  2400 	echo "                                 [$shared_dir]"
  2401 	echo "  --install-dir=dir              specifies the root to install to."
  2401 	echo "  --install-dir=dir              specifies the root to install to."
  2402 	echo "                                 Useful to install into jails [/]"
  2402 	echo "                                 Useful to install into jails [$install_dir]"
  2403 	echo ""
  2403 	echo ""
  2404 	echo "Features and packages:"
  2404 	echo "Features and packages:"
  2405 	echo "  --enable-debug[=LVL]           enable debug-mode (LVL=[0123], 0 is release)"
  2405 	echo "  --enable-debug[=LVL]           enable debug-mode (LVL=[0123], 0 is release)"
  2406 	echo "  --enable_desync_debug=[LVL]    enable desync debug options (LVL=[012], 0 is none"
  2406 	echo "  --enable_desync_debug=[LVL]    enable desync debug options (LVL=[012], 0 is none"
  2407 	echo "  --enable-profiling             enables profiling"
  2407 	echo "  --enable-profiling             enables profiling"