Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2751 in orxonox.OLD for orxonox/branches/importer/configure


Ignore:
Timestamp:
Nov 8, 2004, 1:39:04 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/importer: made it autoconf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/importer/configure

    r2706 r2751  
    14971497fi
    14981498
    1499 if mkdir -p -- . 2>/dev/null; then
     1499if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
    15001500  # Keeping the `.' argument allows $(mkdir_p) to be used without
    15011501  # argument.  Indeed, we sometimes output rules like
     
    15101510  # directories to create, and then abort because `.' already
    15111511  # exists.
    1512   for d in ./-p ./--;
     1512  for d in ./-p ./--version;
    15131513  do
    15141514    test -d $d && rmdir $d
     
    24152415    for i in 1 2 3 4 5 6; do
    24162416      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    2417       : > sub/conftst$i.h
     2417      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     2418      # Solaris 8's {/usr,}/bin/sh.
     2419      touch sub/conftst$i.h
    24182420    done
    24192421    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    24432445       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    24442446      # icc doesn't choke on unknown options, it will just issue warnings
    2445       # (even with -Werror).  So we grep stderr for any message
    2446       # that says an option was ignored.
    2447       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     2447      # or remarks (even with -Werror).  So we grep stderr for any message
     2448      # that says an option was ignored or not supported.
     2449      # When given -MP, icc 7.0 and 7.1 complain thusly:
     2450      #   icc: Command line warning: ignoring option '-M'; no argument required
     2451      # The diagnosis changed in icc 8.0:
     2452      #   icc: Command line remark: option '-MP' not supported
     2453      if (grep 'ignoring option' conftest.err ||
     2454          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    24482455        am_cv_CXX_dependencies_compiler_type=$depmode
    24492456        break
     
    32463253    for i in 1 2 3 4 5 6; do
    32473254      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    3248       : > sub/conftst$i.h
     3255      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
     3256      # Solaris 8's {/usr,}/bin/sh.
     3257      touch sub/conftst$i.h
    32493258    done
    32503259    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     
    32743283       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    32753284      # icc doesn't choke on unknown options, it will just issue warnings
    3276       # (even with -Werror).  So we grep stderr for any message
    3277       # that says an option was ignored.
    3278       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
     3285      # or remarks (even with -Werror).  So we grep stderr for any message
     3286      # that says an option was ignored or not supported.
     3287      # When given -MP, icc 7.0 and 7.1 complain thusly:
     3288      #   icc: Command line warning: ignoring option '-M'; no argument required
     3289      # The diagnosis changed in icc 8.0:
     3290      #   icc: Command line remark: option '-MP' not supported
     3291      if (grep 'ignoring option' conftest.err ||
     3292          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    32793293        am_cv_CC_dependencies_compiler_type=$depmode
    32803294        break
     
    63676381
    63686382
    6369                                         ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile"
     6383                                                  ac_config_files="$ac_config_files Makefile console/Makefile gui/Makefile src/Makefile importer/Makefile"
    63706384
    63716385cat >confcache <<\_ACEOF
     
    69296943  "gui/Makefile" ) CONFIG_FILES="$CONFIG_FILES gui/Makefile" ;;
    69306944  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     6945  "importer/Makefile" ) CONFIG_FILES="$CONFIG_FILES importer/Makefile" ;;
    69316946  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    69326947  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     
    76887703  # Extract the definition of DEP_FILES from the Makefile without
    76897704  # running `make'.
    7690   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     7705  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    76917706  test -z "$DEPDIR" && continue
    76927707  # When using ansi2knr, U may be empty or an underscore; expand it
    7693   U=`sed -n -e '/^U = / s///p' < "$mf"`
     7708  U=`sed -n 's/^U = //p' < "$mf"`
    76947709  test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
    76957710  # We invoke sed twice because it is the simplest approach to
    76967711  # changing $(DEPDIR) to its actual value in the expansion.
    7697   for file in `sed -n -e '
     7712  for file in `sed -n '
    76987713    /^DEP_FILES = .*\\\\$/ {
    76997714      s/^DEP_FILES = //
Note: See TracChangeset for help on using the changeset viewer.