Changed configure tests for GoldED
This commit is contained in:
parent
4dc100173c
commit
2dc28fdc07
78
configure
vendored
78
configure
vendored
@ -7767,6 +7767,45 @@ else
|
|||||||
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Extract the first word of "gedlnx", so it can be a program name with args.
|
||||||
|
set dummy gedlnx; 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_GOLDEDBIN+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
case $GOLDEDBIN in
|
||||||
|
[\\/]* | ?:[\\/]*)
|
||||||
|
ac_cv_path_GOLDEDBIN="$GOLDEDBIN" # Let the user override the test with a path.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_path_GOLDEDBIN="$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
|
||||||
|
GOLDEDBIN=$ac_cv_path_GOLDEDBIN
|
||||||
|
|
||||||
|
if test -n "$GOLDEDBIN"; then
|
||||||
|
echo "$as_me:$LINENO: result: $GOLDEDBIN" >&5
|
||||||
|
echo "${ECHO_T}$GOLDEDBIN" >&6
|
||||||
|
else
|
||||||
|
echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
echo "${ECHO_T}no" >&6
|
||||||
|
fi
|
||||||
|
|
||||||
# Extract the first word of "goldnode", so it can be a program name with args.
|
# Extract the first word of "goldnode", so it can be a program name with args.
|
||||||
set dummy goldnode; ac_word=$2
|
set dummy goldnode; ac_word=$2
|
||||||
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||||
@ -7806,6 +7845,45 @@ else
|
|||||||
echo "${ECHO_T}no" >&6
|
echo "${ECHO_T}no" >&6
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Extract the first word of "gnlnx", so it can be a program name with args.
|
||||||
|
set dummy gnlnx; 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_GOLDNODE+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
case $GOLDNODE in
|
||||||
|
[\\/]* | ?:[\\/]*)
|
||||||
|
ac_cv_path_GOLDNODE="$GOLDNODE" # Let the user override the test with a path.
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
||||||
|
ac_cv_path_GOLDNODE="$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
|
||||||
|
GOLDNODE=$ac_cv_path_GOLDNODE
|
||||||
|
|
||||||
|
if test -n "$GOLDNODE"; then
|
||||||
|
echo "$as_me:$LINENO: result: $GOLDNODE" >&5
|
||||||
|
echo "${ECHO_T}$GOLDNODE" >&6
|
||||||
|
else
|
||||||
|
echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
echo "${ECHO_T}no" >&6
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Check whether --with-log-compress or --without-log-compress was given.
|
# Check whether --with-log-compress or --without-log-compress was given.
|
||||||
|
@ -177,7 +177,9 @@ AC_PATH_PROG(SB,sb)
|
|||||||
AC_PATH_PROG(RZ,rz)
|
AC_PATH_PROG(RZ,rz)
|
||||||
AC_PATH_PROG(SZ,sz)
|
AC_PATH_PROG(SZ,sz)
|
||||||
AC_PATH_PROG(GOLDEDBIN,golded)
|
AC_PATH_PROG(GOLDEDBIN,golded)
|
||||||
|
AC_PATH_PROG(GOLDEDBIN,gedlnx)
|
||||||
AC_PATH_PROG(GOLDNODE,goldnode)
|
AC_PATH_PROG(GOLDNODE,goldnode)
|
||||||
|
AC_PATH_PROG(GOLDNODE,gnlnx)
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(log-compress,[ --with-log-compress=METHOD Log compression method (default gzip)], LOG_COMPRESS=$with_log_compress, LOG_COMPRESS=gzip)
|
AC_ARG_WITH(log-compress,[ --with-log-compress=METHOD Log compression method (default gzip)], LOG_COMPRESS=$with_log_compress, LOG_COMPRESS=gzip)
|
||||||
|
Reference in New Issue
Block a user