朝までFreeciv!

【スポンサー広告】 スポンサーサイト

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。
  1. --/--/--(--) --:--:--|
  2. スポンサー広告

【日記】 configureオプション

Freecivをコンパイルするときに、./configure --help を実行したときの表示を貼り付けます。
誰得?



`configure' configures freeciv 2.5.0 to adapt to many kinds of systems.

Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
-h, --help display this help and exit
--help=short display options specific to this package
--help=recursive display the short help of all the included packages
-V, --version display version information and exit
-q, --quiet, --silent do not print `checking ...' messages
--cache-file=FILE cache test results in FILE [disabled]
-C, --config-cache alias for `--cache-file=config.cache'
-n, --no-create do not create output files
--srcdir=DIR find the sources in DIR [configure dir or `..']

Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]

By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.

For better control, use the options below.

Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
--infodir=DIR info documentation [DATAROOTDIR/info]
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
--mandir=DIR man documentation [DATAROOTDIR/man]
--docdir=DIR documentation root [DATAROOTDIR/doc/freeciv]
--htmldir=DIR html documentation [DOCDIR]
--dvidir=DIR dvi documentation [DOCDIR]
--pdfdir=DIR pdf documentation [DOCDIR]
--psdir=DIR ps documentation [DOCDIR]

Program names:
--program-prefix=PREFIX prepend PREFIX to installed program names
--program-suffix=SUFFIX append SUFFIX to installed program names
--program-transform-name=PROGRAM run sed PROGRAM on installed program names

X features:
--x-includes=DIR X include files are in DIR
--x-libraries=DIR X library files are in DIR

System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]

Optional Features:
--disable-option-checking ignore unrecognized --enable/--with options
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors
--enable-silent-rules less verbose build output (undo: `make V=1')
--disable-silent-rules verbose build output (undo: `make V=0')
--enable-fcdb=no/all/mysql/postgres/sqlite3
database backends [no](no, or list)
--disable-server do not compile the server
--enable-ipv6=yes/no/test
use IPv6 [test]
--enable-mapimg=no/auto/magickwand
additional map image toolkits to compile [auto](no,
or list)
--enable-client=auto/all/gtk2/gtk3/sdl/xaw/qt/stub
clients to compile [auto](list for multiple)
--enable-svnrev get svn revision to version information
--enable-gitrev get git revision to version information
--disable-make-data do not recurse make into data directories
--enable-make-include force make to recurse into include directory
--enable-aimodules=yes/no/experimental
support for ai modules [no]
--enable-ai-static statically link listed modules to server
--enable-shared[=PKGS] build shared libraries [default=no]
--enable-static[=PKGS] build static libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--disable-rpath do not hardcode runtime library paths
--disable-nls do not add localization support
--enable-debug[=no/some/yes/checks] turn on debugging [default=some]
--enable-gprof turn on profiling [default=no]
--enable-crosser build version to be used with crosser environment
--enable-sdl-mixer use the SDL mixer [sdl]
--disable-sdltest Do not try to compile and run a test SDL program
--disable-sdl2test Do not try to compile and run a test SDL2 program
--disable-gtktest do not try to compile and run a test GTK+ program
--disable-freetypetest Do not try to compile and run a test FreeType
program
--enable-noregistry Do not register game modules.
--enable-fcmp=no/yes/gtk2/gtk3/qt/cli/all/auto
build freeciv-modpack-program [auto]
--enable-sys-lua use lua from system instead of one from freeciv tree
[false]

Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-mysql-prefix=PFX Prefix where MySql is installed (optional)
--with-postgres-prefix=PFX Prefix where PostgreSQL is installed (optional)
--with-sqlite3-prefix=PFX Prefix where SQLite3 is installed (optional)
--with-readline support fancy command line editing
--with-followtag version tag to follow
--with-desktopdir install desktop files to given dir
--with-appdatadir install appdata files to given dir
--with-magickwand=DIR Imagemagick installation directory (optional)
--with-xaw use the Xaw widget set for the xaw client
--with-xaw3d use the Xaw3d widget set for the xaw client
--with-efence use Electric Fence, malloc debugger
--with-default-ai default ai type [first static]
--with-ai-lib build in default AI code [if needed]
--with-pic try to use only PIC/non-PIC objects [default=use
both]
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--with-sysroot=DIR Search for dependent libraries within DIR
(or the compiler's sysroot if not specified).
--with-gnu-ld assume the C compiler uses GNU ld default=no
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
--without-libiconv-prefix don't search for libiconv in includedir and libdir
--with-sdl-prefix=PFX Prefix where SDL is installed (optional)
--with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
--with-sdl2-prefix=PFX Prefix where SDL2 is installed (optional)
--with-sdl2-exec-prefix=PFX Exec prefix where SDL2 is installed (optional)
--with-ft-prefix=PREFIX Prefix where FreeType is installed (optional)
--with-ft-exec-prefix=PREFIX
Exec prefix where FreeType is installed (optional)
--with-x use the X Window System
--with-x-funcproto=DEFS Xfuncproto control definitions are DEFS
(e.g.: --with-x-funcproto='FUNCPROTO=15 NARROWPROTO'
--with-xpm-prefix=DIR Xpm files are in DIR/lib and DIR/include,
or use the following to set them separately:
--with-xpm-lib=DIR Xpm library is in DIR
--with-xpm-include=DIR Xpm header file is in DIR (that is, DIR/X11/xpm.h)
--with-qt5-includes path to Qt5 includes
--with-qt5-libs path to Qt5 libraries
--with-ggz-dir=DIR Path to GGZ Gaming Zone
--with-libggz-dir=DIR libggz installation prefix
--with-libggz-includes=DIR
where the libggz includes are
--with-libggz-libraries=DIR
where the libggz libs are
--with-ggz-client Force GGZ client support
--with-ggzmod-dir=DIR ggzmod installation prefix
--with-ggzmod-includes=DIR
where the ggzmod includes are
--with-ggzmod-libraries=DIR
where the ggzmod libs are
--with-ggzconfig=DIR path to ggz-config
--with-ggz-gtk-dir=DIR ggz-gtk installation prefix
--with-ggz-gtk-includes=DIR
where the ggz-gtk includes are
--with-ggz-gtk-libraries=DIR
where the ggz-gtk libs are
--with-ggz-server Force GGZ server support
--with-ggzdmod-dir=DIR ggzdmod installation prefix
--with-ggzdmod-includes=DIR
where the ggzdmod includes are
--with-ggzdmod-libraries=DIR
where the ggzdmod libs are
--with-ggzd-confdir=DIR directory for room/game data
--without-freeciv-manual
do not build freeciv-manual
--with-missinglist list missing features after configure

Some influential environment variables:
MOCCMD QT 5 moc command (autodetected it if not set)
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L if you have libraries in a
nonstandard directory
LIBS libraries to pass to the linker, e.g. -l
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if
you have headers in a nonstandard directory
CPP C preprocessor
CXX C++ compiler command
CXXFLAGS C++ compiler flags
CXXCPP C++ preprocessor
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
CURL_LIBS linker flags for CURL, overriding pkg-config
SDLMIXER_CFLAGS
C compiler flags for SDLMIXER, overriding pkg-config
SDLMIXER_LIBS
linker flags for SDLMIXER, overriding pkg-config
SDL2_CFLAGS C compiler flags for SDL2, overriding pkg-config
SDL2_LIBS linker flags for SDL2, overriding pkg-config
SDL2MIXER_CFLAGS
C compiler flags for SDL2MIXER, overriding pkg-config
SDL2MIXER_LIBS
linker flags for SDL2MIXER, overriding pkg-config
XMKMF Path to xmkmf, Makefile generator for X Window System
PNG_CFLAGS C compiler flags for PNG, overriding pkg-config
PNG_LIBS linker flags for PNG, overriding pkg-config
GTHREAD_CFLAGS
C compiler flags for GTHREAD, overriding pkg-config
GTHREAD_LIBS
linker flags for GTHREAD, overriding pkg-config
LUA_CFLAGS C compiler flags for LUA, overriding pkg-config
LUA_LIBS linker flags for LUA, overriding pkg-config

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to the package provider.



--enable-fcdb=all オプションを付ければサーバー認証対応のサーバーをビルドできることに気が付いた。この場合、freeciv-server を実行する時に /usr/bin/freeciv-server --auth みたいにオプションをつければ良いらしい? setup_auth_server.sh シェルスクリプトでデータベースを作成の補助ができるらしい?

サーバー認証なんて、そんなセキュアな環境は必要なさそうだけどね!

  1. 2015/06/14(日) 09:29:19|
  2. 日記
  3. | トラックバック:0
  4. | コメント:0
<<万里の長城バグ | ホーム | 2.5用のEmpiresルールセット>>

コメント

コメントの投稿


管理者にだけ表示を許可する

トラックバック

トラックバック URL
http://freeciv.blog.fc2.com/tb.php/138-8d120888
この記事にトラックバックする(FC2ブログユーザー)
【 このブログの目次 】

プロフィール

指導者

Author:指導者
これはあなたです。このユニットを失うと、ゲームは負けになります。大切にしてね。

つぶやき

最新記事

最新コメント

カテゴリ

月別アーカイブ

最新トラックバック

FC2カウンター

検索フォーム

RSSリンクの表示

リンク

このブログをリンクに追加する

QRコード

QR

上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。