- test "${RESTORE}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RESTORE'@!${RESTORE}!g;"
-
- test "${RESTORE}"
-
-
-
-
- if test -z "rsync"; then
- rq=true
- else
- rq=false
- fi
-
- if $rq; then
- ensc_dflt=
- else
- ensc_dflt="rsync"
- fi
-
- for ac_prog in rsync
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_path_RSYNC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $RSYNC in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_RSYNC="$RSYNC" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $ensc_searchpath
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_RSYNC="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-
- ;;
-esac
-fi
-RSYNC=$ac_cv_path_RSYNC
-
-if test -n "$RSYNC"; then
- echo "$as_me:$LINENO: result: $RSYNC" >&5
-echo "${ECHO_T}$RSYNC" >&6
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
- test -n "$RSYNC" && break
-done
-test -n "$RSYNC" || RSYNC="$ensc_dflt"
-
-
- if test -z "${RSYNC}" && $rq; then
- if test -z ""; then
- { { echo "$as_me:$LINENO: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&5
-echo "$as_me: error: Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'." >&2;}
- { (exit 1); exit 1; }; }
- else
- { { echo "$as_me:$LINENO: error:
-Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
-" >&5
-echo "$as_me: error:
-Can not find the 'rsync' tool within '${ensc_searchpath:-$PATH}'.
-" >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
-
- test "${RSYNC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'RSYNC'@!${RSYNC}!g;"
-
- test "${RSYNC}"
-
-
-
-
-
- if test -z ":"; then
- rq=true
- else
- rq=false
- fi
-
- if $rq; then
- ensc_dflt=
- else
- ensc_dflt=":"
- fi
-
- for ac_prog in doxygen
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_path_DOXYGEN+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $DOXYGEN in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $ensc_searchpath
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-
- ;;
-esac
-fi
-DOXYGEN=$ac_cv_path_DOXYGEN
-
-if test -n "$DOXYGEN"; then
- echo "$as_me:$LINENO: result: $DOXYGEN" >&5
-echo "${ECHO_T}$DOXYGEN" >&6
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
- test -n "$DOXYGEN" && break
-done
-test -n "$DOXYGEN" || DOXYGEN="$ensc_dflt"
-
-
- if test -z "${DOXYGEN}" && $rq; then
- if test -z ""; then
- { { echo "$as_me:$LINENO: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&5
-echo "$as_me: error: Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'." >&2;}
- { (exit 1); exit 1; }; }
- else
- { { echo "$as_me:$LINENO: error:
-Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
-" >&5
-echo "$as_me: error:
-Can not find the 'doxygen' tool within '${ensc_searchpath:-$PATH}'.
-" >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
-
- test "${DOXYGEN}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'DOXYGEN'@!${DOXYGEN}!g;"
-
- test "${DOXYGEN}"
-
-
-
-
- if test -z ":"; then
- rq=true
- else
- rq=false
- fi
-
- if $rq; then
- ensc_dflt=
- else
- ensc_dflt=":"
- fi
-
- for ac_prog in xsltp
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_path_XSLTP+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $XSLTP in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_XSLTP="$XSLTP" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $ensc_searchpath
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_XSLTP="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-
- ;;
-esac
-fi
-XSLTP=$ac_cv_path_XSLTP
-
-if test -n "$XSLTP"; then
- echo "$as_me:$LINENO: result: $XSLTP" >&5
-echo "${ECHO_T}$XSLTP" >&6
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
- test -n "$XSLTP" && break
-done
-test -n "$XSLTP" || XSLTP="$ensc_dflt"
-
-
- if test -z "${XSLTP}" && $rq; then
- if test -z ""; then
- { { echo "$as_me:$LINENO: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&5
-echo "$as_me: error: Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'." >&2;}
- { (exit 1); exit 1; }; }
- else
- { { echo "$as_me:$LINENO: error:
-Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
-" >&5
-echo "$as_me: error:
-Can not find the 'xsltp' tool within '${ensc_searchpath:-$PATH}'.
-" >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
-
- test "${XSLTP}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTP'@!${XSLTP}!g;"
-
- test "${XSLTP}"
-
-
-
-
- if test -z ":"; then
- rq=true
- else
- rq=false
- fi
-
- if $rq; then
- ensc_dflt=
- else
- ensc_dflt=":"
- fi
-
- for ac_prog in xsltproc
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; 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_path_XSLTPROC+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- case $XSLTPROC in
- [\\/]* | ?:[\\/]*)
- ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
- ;;
- *)
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $ensc_searchpath
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
-done
-
- ;;
-esac
-fi
-XSLTPROC=$ac_cv_path_XSLTPROC
-
-if test -n "$XSLTPROC"; then
- echo "$as_me:$LINENO: result: $XSLTPROC" >&5
-echo "${ECHO_T}$XSLTPROC" >&6
-else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
-fi
-
- test -n "$XSLTPROC" && break
-done
-test -n "$XSLTPROC" || XSLTPROC="$ensc_dflt"
-
-
- if test -z "${XSLTPROC}" && $rq; then
- if test -z ""; then
- { { echo "$as_me:$LINENO: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&5
-echo "$as_me: error: Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'." >&2;}
- { (exit 1); exit 1; }; }
- else
- { { echo "$as_me:$LINENO: error:
-Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
-" >&5
-echo "$as_me: error:
-Can not find the 'xsltproc' tool within '${ensc_searchpath:-$PATH}'.
-" >&2;}
- { (exit 1); exit 1; }; }
- fi
- fi
-
- test "${XSLTPROC}" && ENSC_PATHPROG_SED="${ENSC_PATHPROG_SED}s!@'XSLTPROC'@!${XSLTPROC}!g;"
-
- test "${XSLTPROC}"
-
-
-
-
-if test "$XSLTP" != ':'; then
- HAVE_XSLTP_TRUE=
- HAVE_XSLTP_FALSE='#'
-else
- HAVE_XSLTP_TRUE='#'
- HAVE_XSLTP_FALSE=
-fi
-
-
-
-if test "$XSLTPROC" != ':'; then
- HAVE_XSLTPROC_TRUE=
- HAVE_XSLTPROC_FALSE='#'
-else
- HAVE_XSLTPROC_TRUE='#'
- HAVE_XSLTPROC_FALSE=
-fi
-
-
-if test x"$prefix" = x/; then
- prefix=
-fi
-
-
-
- warn_flags="-Werror -W"
- echo "$as_me:$LINENO: checking whether the C-compiler accepts ${warn_flags}" >&5
-echo $ECHO_N "checking whether the C-compiler accepts ${warn_flags}... $ECHO_C" >&6
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- __ensc_check_warnflags_old_CFLAGS="${CFLAGS}"
- CFLAGS="$warn_flags"
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-inline static void f(){}
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
- (eval $ac_compile) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest.$ac_objext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ensc_sys_compilerwarnflags_C=${warn_flags}
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ensc_sys_compilerwarnflags_C=
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
- CFLAGS="$__ensc_check_warnflags_old_CFLAGS"
-
- if test x"${ensc_sys_compilerwarnflags_C}" = x; then
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
- else
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- fi
-
-
-
-
-
-echo 'void f(){}' > conftest.c
- for i in -std=c99 -Wall -pedantic -W
- do
- echo "$as_me:$LINENO: checking whether $CC accepts $i" >&5
-echo $ECHO_N "checking whether $CC accepts $i... $ECHO_C" >&6
- if test -z "`${CC} ${ensc_sys_compilerwarnflags_C} $i -c conftest.c 2>&1`"
- then
- CFLAGS="${CFLAGS} $i"
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
- else
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
- fi
- done
- rm -f conftest.c conftest.o