* device/include/pic/pic12f629.h,
[fw/sdcc] / configure
index 149bd2d951f3fe8c08338f8d7f65252b7a9c36b7..27c14e1c442832e63f92f0bc4a47e5c98e11c914 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,8 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for sdcc 2.7.2.
-#
-# Report bugs to <sdcc-devel@lists.sourceforge.net>.
+# Generated by GNU Autoconf 2.61.
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
 #
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -572,12 +570,13 @@ MAKEFLAGS=
 SHELL=${CONFIG_SHELL-/bin/sh}
 
 # Identity of this package.
 SHELL=${CONFIG_SHELL-/bin/sh}
 
 # Identity of this package.
-PACKAGE_NAME='sdcc'
-PACKAGE_TARNAME='sdcc'
-PACKAGE_VERSION='2.7.2'
-PACKAGE_STRING='sdcc 2.7.2'
-PACKAGE_BUGREPORT='sdcc-devel@lists.sourceforge.net'
+PACKAGE_NAME=
+PACKAGE_TARNAME=
+PACKAGE_VERSION=
+PACKAGE_STRING=
+PACKAGE_BUGREPORT=
 
 
+ac_unique_file=".version"
 ac_unique_file="Makefile.in"
 # Factoring default headers for most tests.
 ac_includes_default="\
 ac_unique_file="Makefile.in"
 # Factoring default headers for most tests.
 ac_includes_default="\
@@ -653,6 +652,7 @@ build_alias
 host_alias
 target_alias
 AWK
 host_alias
 target_alias
 AWK
+PACKAGE
 VERSION
 VERSIONHI
 VERSIONLO
 VERSION
 VERSIONHI
 VERSIONLO
@@ -675,6 +675,7 @@ AS
 CP
 LEX
 YACC
 CP
 LEX
 YACC
+CCACHE
 M_OR_MM
 GREP
 EGREP
 M_OR_MM
 GREP
 EGREP
@@ -720,7 +721,7 @@ sdccconf_h_dir_separator
 include_dir_suffix
 lib_dir_suffix
 docdir'
 include_dir_suffix
 lib_dir_suffix
 docdir'
-ac_subdirs_all='support/cpp2
+ac_subdirs_all='support/cpp
 support/packihx
 sim/ucsim
 debugger/mcs51
 support/packihx
 sim/ucsim
 debugger/mcs51
@@ -763,7 +764,7 @@ sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 localstatedir='${prefix}/var'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
+docdir='${datarootdir}/doc/${PACKAGE}'
 infodir='${datarootdir}/info'
 htmldir='${docdir}'
 dvidir='${docdir}'
 infodir='${datarootdir}/info'
 htmldir='${docdir}'
 dvidir='${docdir}'
@@ -1227,7 +1228,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures sdcc 2.7.2 to adapt to many kinds of systems.
+\`configure' configures this package to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1275,7 +1276,7 @@ Fine tuning of the installation directories:
   --infodir=DIR          info documentation [DATAROOTDIR/info]
   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   --mandir=DIR           man documentation [DATAROOTDIR/man]
   --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/sdcc]
+  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
   --htmldir=DIR          html documentation [DOCDIR]
   --dvidir=DIR           dvi documentation [DOCDIR]
   --pdfdir=DIR           pdf documentation [DOCDIR]
   --htmldir=DIR          html documentation [DOCDIR]
   --dvidir=DIR           dvi documentation [DOCDIR]
   --pdfdir=DIR           pdf documentation [DOCDIR]
@@ -1292,9 +1293,7 @@ _ACEOF
 fi
 
 if test -n "$ac_init_help"; then
 fi
 
 if test -n "$ac_init_help"; then
-  case $ac_init_help in
-     short | recursive ) echo "Configuration of sdcc 2.7.2:";;
-   esac
+
   cat <<\_ACEOF
 
 Optional Features:
   cat <<\_ACEOF
 
 Optional Features:
@@ -1319,6 +1318,11 @@ Optional Features:
   --enable-libgc          Use the Bohem memory allocator. Lower runtime
                           footprint.
 
   --enable-libgc          Use the Bohem memory allocator. Lower runtime
                           footprint.
 
+Optional Packages:
+  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
+  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
+  --without-ccache        do not use ccache even if available
+
 Some influential environment variables:
   CC          C compiler command
   CFLAGS      C compiler flags
 Some influential environment variables:
   CC          C compiler command
   CFLAGS      C compiler flags
@@ -1339,7 +1343,6 @@ Some influential environment variables:
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
 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 <sdcc-devel@lists.sourceforge.net>.
 _ACEOF
 ac_status=$?
 fi
 _ACEOF
 ac_status=$?
 fi
@@ -1400,7 +1403,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-sdcc configure 2.7.2
+configure
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1414,7 +1417,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by sdcc $as_me 2.7.2, which was
+It was created by $as_me, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
@@ -1747,14 +1750,6 @@ fi
 
 
 
 
 
 
-
-
-
-
-
-
-
-
 
 
 
 
 
 
@@ -1814,13 +1809,27 @@ fi
 done
 
 
 done
 
 
-VERSION=$PACKAGE_VERSION
+{ echo "$as_me:$LINENO: checking version of the package" >&5
+echo $ECHO_N "checking version of the package... $ECHO_C" >&6; }
+if test -f ${srcdir}/.version; then
+  { read VERSION; } < ${srcdir}/.version
+  { echo "$as_me:$LINENO: result: $VERSION" >&5
+echo "${ECHO_T}$VERSION" >&6; }
+elif test -f ../.version; then
+  { read VERSION; } < ../.version
+  { echo "$as_me:$LINENO: result: $VERSION" >&5
+echo "${ECHO_T}$VERSION" >&6; }
+else
+  VERSION="0.0.0"
+  { echo "$as_me:$LINENO: result: unknown using 0.0.0" >&5
+echo "${ECHO_T}unknown using 0.0.0" >&6; }
+fi
 VERSIONHI=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $1}'`
 VERSIONLO=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $2}'`
 VERSIONP=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $3}'`
 
 VERSIONHI=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $1}'`
 VERSIONLO=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $2}'`
 VERSIONP=`echo $VERSION|$AWK 'BEGIN {FS="."} {print $3}'`
 
-{ echo "$as_me:$LINENO: result: ${VERSION}" >&5
-echo "${ECHO_T}${VERSION}" >&6; }
+PACKAGE=sdcc
+
 
 
 
 
 
 
@@ -3482,6 +3491,55 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
 
 
 
+# Check whether --with-ccache was given.
+if test "${with_ccache+set}" = set; then
+  withval=$with_ccache;
+fi
+
+case x${with_ccache-yes} in
+    xyes) # Extract the first word of "ccache", so it can be a program name with args.
+set dummy ccache; ac_word=$2
+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+if test "${ac_cv_prog_CCACHE+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  if test -n "$CCACHE"; then
+  ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_CCACHE="ccache"
+    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+done
+IFS=$as_save_IFS
+
+fi
+fi
+CCACHE=$ac_cv_prog_CCACHE
+if test -n "$CCACHE"; then
+  { echo "$as_me:$LINENO: result: $CCACHE" >&5
+echo "${ECHO_T}$CCACHE" >&6; }
+else
+  { echo "$as_me:$LINENO: result: no" >&5
+echo "${ECHO_T}no" >&6; }
+fi
+
+ ;;
+    xno)  ;;
+    *) CCACHE=$with_ccache
+ ;;
+esac
+
+
 # Checking for functions
 # ===========================================================================
 
 # Checking for functions
 # ===========================================================================
 
@@ -6042,8 +6100,8 @@ _ACEOF
 # -------------------------------------------------------------------------
 # SDCC_BUILD_BIGENDIAN
 
 # -------------------------------------------------------------------------
 # SDCC_BUILD_BIGENDIAN
 
-{ echo "$as_me:$LINENO: checking whether build machine byte ordering is bigendian" >&5
-echo $ECHO_N "checking whether build machine byte ordering is bigendian... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking whether host machine byte ordering is bigendian" >&5
+echo $ECHO_N "checking whether host machine byte ordering is bigendian... $ECHO_C" >&6; }
 if test "${sdcc_cv_build_bigendian+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
 if test "${sdcc_cv_build_bigendian+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
@@ -6308,7 +6366,6 @@ if test "${include_dir_suffix}" = ""; then
     include_dir_suffix="sdcc/include"
 fi
 
     include_dir_suffix="sdcc/include"
 fi
 
-
 # lib_dir_suffix:
 # *nix default: "sdcc/lib"
 
 # lib_dir_suffix:
 # *nix default: "sdcc/lib"
 
@@ -6316,7 +6373,6 @@ if test "${lib_dir_suffix}" = ""; then
     lib_dir_suffix="sdcc/lib"
 fi
 
     lib_dir_suffix="sdcc/lib"
 fi
 
-
 # docdir:
 # *nix default: "${datadir}/sdcc/doc"
 
 # docdir:
 # *nix default: "${datadir}/sdcc/doc"
 
@@ -6326,7 +6382,6 @@ fi
 
 
 
 
 
 
-
 # sdccconf.h
 ############
 
 # sdccconf.h
 ############
 
@@ -6865,7 +6920,7 @@ _ACEOF
 # Port selection helper
 # ===========================================================================
 # macro AC_DO_ENABLER()
 # Port selection helper
 # ===========================================================================
 # macro AC_DO_ENABLER()
-#   $1 used to access enable_$1, e.g. enable-doc
+#   $1 used to access enable_$1, e.g. enable_doc
 #   $2 OPT_DISABLE_$2, normally uppercase of $1, e.g. DOC
 #   $3 help string
 
 #   $2 OPT_DISABLE_$2, normally uppercase of $1, e.g. DOC
 #   $3 help string
 
@@ -7266,8 +7321,7 @@ _ACEOF
 
 
 
 
 
 
-if test $OPT_ENABLE_DOC = 1; then
-  # Extract the first word of "lyx", so it can be a program name with args.
+# Extract the first word of "lyx", so it can be a program name with args.
 set dummy lyx; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 set dummy lyx; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
@@ -7305,7 +7359,7 @@ echo "${ECHO_T}no" >&6; }
 fi
 
 
 fi
 
 
-  # Extract the first word of "latex2html", so it can be a program name with args.
+# Extract the first word of "latex2html", so it can be a program name with args.
 set dummy latex2html; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 set dummy latex2html; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
@@ -7343,7 +7397,7 @@ echo "${ECHO_T}no" >&6; }
 fi
 
 
 fi
 
 
-  # Extract the first word of "pdflatex", so it can be a program name with args.
+# Extract the first word of "pdflatex", so it can be a program name with args.
 set dummy pdflatex; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 set dummy pdflatex; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
@@ -7381,7 +7435,7 @@ echo "${ECHO_T}no" >&6; }
 fi
 
 
 fi
 
 
-  # Extract the first word of "pdfopt", so it can be a program name with args.
+# Extract the first word of "pdfopt", so it can be a program name with args.
 set dummy pdfopt; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 set dummy pdfopt; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
@@ -7419,7 +7473,7 @@ echo "${ECHO_T}no" >&6; }
 fi
 
 
 fi
 
 
-  # Extract the first word of "makeindex", so it can be a program name with args.
+# Extract the first word of "makeindex", so it can be a program name with args.
 set dummy makeindex; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 set dummy makeindex; ac_word=$2
 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
@@ -7458,6 +7512,7 @@ fi
 
 
 
 
 
 
+if test $OPT_ENABLE_DOC = 1; then
   if test "$LYX" = ":"; then
   { { echo "$as_me:$LINENO: error: Cannot find required program lyx." >&5
 echo "$as_me: error: Cannot find required program lyx." >&2;}
   if test "$LYX" = ":"; then
   { { echo "$as_me:$LINENO: error: Cannot find required program lyx." >&5
 echo "$as_me: error: Cannot find required program lyx." >&2;}
@@ -7596,7 +7651,7 @@ mv ports ports.build
 
 # Generating output files
 # ===========================================================================
 
 # Generating output files
 # ===========================================================================
-test $OPT_DISABLE_SDCPP   = 0 && subdirs="$subdirs support/cpp2"
+test $OPT_DISABLE_SDCPP   = 0 && subdirs="$subdirs support/cpp"
 
 test $OPT_DISABLE_PACKIHX = 0 && subdirs="$subdirs support/packihx"
 
 
 test $OPT_DISABLE_PACKIHX = 0 && subdirs="$subdirs support/packihx"
 
@@ -8062,7 +8117,7 @@ exec 6>&1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by sdcc $as_me 2.7.2, which was
+This file was extended by $as_me, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -8111,7 +8166,7 @@ Report bugs to <bug-autoconf@gnu.org>."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-sdcc config.status 2.7.2
+config.status
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
@@ -8356,6 +8411,7 @@ build_alias!$build_alias$ac_delim
 host_alias!$host_alias$ac_delim
 target_alias!$target_alias$ac_delim
 AWK!$AWK$ac_delim
 host_alias!$host_alias$ac_delim
 target_alias!$target_alias$ac_delim
 AWK!$AWK$ac_delim
+PACKAGE!$PACKAGE$ac_delim
 VERSION!$VERSION$ac_delim
 VERSIONHI!$VERSIONHI$ac_delim
 VERSIONLO!$VERSIONLO$ac_delim
 VERSION!$VERSION$ac_delim
 VERSIONHI!$VERSIONHI$ac_delim
 VERSIONLO!$VERSIONLO$ac_delim
@@ -8378,6 +8434,7 @@ AS!$AS$ac_delim
 CP!$CP$ac_delim
 LEX!$LEX$ac_delim
 YACC!$YACC$ac_delim
 CP!$CP$ac_delim
 LEX!$LEX$ac_delim
 YACC!$YACC$ac_delim
+CCACHE!$CCACHE$ac_delim
 M_OR_MM!$M_OR_MM$ac_delim
 GREP!$GREP$ac_delim
 EGREP!$EGREP$ac_delim
 M_OR_MM!$M_OR_MM$ac_delim
 GREP!$GREP$ac_delim
 EGREP!$EGREP$ac_delim
@@ -8411,7 +8468,7 @@ LIBOBJS!$LIBOBJS$ac_delim
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
 LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 91; then
+  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
     break
   elif $ac_last_try; then
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     break
   elif $ac_last_try; then
     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5