Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4774 in orxonox.OLD for orxonox/trunk/configure


Ignore:
Timestamp:
Jul 2, 2005, 6:28:26 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: better ebuild, and the default data-dir can now be specified through ./configure —datadir=bla

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/configure

    r4772 r4774  
    869869  --disable-modular-debug compiles in modular-debug mode, that logs
    870870                          differently on the many modules of orxonox.
    871   --enable-sub-projects   also builds the subProjects while make from srcdir
     871  --disable-gtk           Prevents GTK from being loaded
     872  --disable-curl          Prevents libcURL from being loaded
    872873  --enable-profile        builds orxonox with profiling support
    873874  --enable-efence         builds orxonox with efence support
     
    878879  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    879880  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    880   --without-gtk           Prevents GTK from being loaded
    881   --without-curl          Prevents libcURL from being loaded
     881  --with-sub-projects     also builds the subProjects while make from srcdir
    882882
    883883Some influential environment variables:
     
    39253925
    39263926
     3927## THIS IS OUR DEFAULT-DATA-DIRECTORY
     3928
    39273929##################################
    39283930## CHECKING  OPTIONAL ARGUMENTS ##
    39293931##################################
     3932#----------------#
     3933# Data-Directory #
     3934#----------------#
     3935DATA_DIR=$datadir
     3936echo \$\{prefix\}
     3937if test $DATA_DIR = \$\{prefix\}/share ; then
     3938        echo "not given"
     3939        DATA_DIR=/usr/share
     3940else
     3941        echo "given: $DATA_DIR"
     3942fi
     3943
     3944cat >>confdefs.h <<_ACEOF
     3945#define DATADIR "$DATA_DIR"
     3946_ACEOF
     3947
    39303948
    39313949#-----------------#
     
    39884006echo "$as_me:$LINENO: checking if gtk should be enabled" >&5
    39894007echo $ECHO_N "checking if gtk should be enabled... $ECHO_C" >&6
    3990 
    3991 # Check whether --with-gtk or --without-gtk was given.
    3992 if test "${with_gtk+set}" = set; then
    3993   withval="$with_gtk"
     4008# Check whether --enable-gtk or --disable-gtk was given.
     4009if test "${enable_gtk+set}" = set; then
     4010  enableval="$enable_gtk"
    39944011  def_gtk=no
    39954012else
     
    40084025echo "$as_me:$LINENO: checking if libcURL should be enabled" >&5
    40094026echo $ECHO_N "checking if libcURL should be enabled... $ECHO_C" >&6
    4010 
    4011 # Check whether --with-curl or --without-curl was given.
    4012 if test "${with_curl+set}" = set; then
    4013   withval="$with_curl"
     4027# Check whether --enable-curl or --disable-curl was given.
     4028if test "${enable_curl+set}" = set; then
     4029  enableval="$enable_curl"
    40144030  def_curl=no
    40154031else
     
    40294045echo "$as_me:$LINENO: checking if the SubProjects should be built" >&5
    40304046echo $ECHO_N "checking if the SubProjects should be built... $ECHO_C" >&6
    4031 # Check whether --enable-sub-projects or --disable-sub-projects was given.
    4032 if test "${enable_sub_projects+set}" = set; then
    4033   enableval="$enable_sub_projects"
     4047
     4048# Check whether --with-sub-projects or --without-sub-projects was given.
     4049if test "${with_sub_projects+set}" = set; then
     4050  withval="$with_sub_projects"
    40344051  def_sub_projects=yes
    40354052fi;
     
    41144131  DOCUMENTATION_FALSE=
    41154132fi
     4133
    41164134
    41174135#######################
Note: See TracChangeset for help on using the changeset viewer.