RPMized the project
This commit is contained in:
93
codepot/configure
vendored
93
codepot/configure
vendored
@ -575,6 +575,7 @@ wwwdir
|
||||
cfgdir
|
||||
depotdir
|
||||
SED
|
||||
RMDIR
|
||||
RM
|
||||
GREP
|
||||
LD
|
||||
@ -2482,6 +2483,98 @@ else
|
||||
RM="$ac_cv_prog_RM"
|
||||
fi
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}rmdir", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}rmdir; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_prog_RMDIR+set}" = set; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test -n "$RMDIR"; then
|
||||
ac_cv_prog_RMDIR="$RMDIR" # 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_RMDIR="${ac_tool_prefix}rmdir"
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
RMDIR=$ac_cv_prog_RMDIR
|
||||
if test -n "$RMDIR"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RMDIR" >&5
|
||||
$as_echo "$RMDIR" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
if test -z "$ac_cv_prog_RMDIR"; then
|
||||
ac_ct_RMDIR=$RMDIR
|
||||
# Extract the first word of "rmdir", so it can be a program name with args.
|
||||
set dummy rmdir; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_prog_ac_ct_RMDIR+set}" = set; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
if test -n "$ac_ct_RMDIR"; then
|
||||
ac_cv_prog_ac_ct_RMDIR="$ac_ct_RMDIR" # 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_ac_ct_RMDIR="rmdir"
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||
break 2
|
||||
fi
|
||||
done
|
||||
done
|
||||
IFS=$as_save_IFS
|
||||
|
||||
fi
|
||||
fi
|
||||
ac_ct_RMDIR=$ac_cv_prog_ac_ct_RMDIR
|
||||
if test -n "$ac_ct_RMDIR"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RMDIR" >&5
|
||||
$as_echo "$ac_ct_RMDIR" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
if test "x$ac_ct_RMDIR" = x; then
|
||||
RMDIR=""
|
||||
else
|
||||
case $cross_compiling:$ac_tool_warned in
|
||||
yes:)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
||||
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
||||
ac_tool_warned=yes ;;
|
||||
esac
|
||||
RMDIR=$ac_ct_RMDIR
|
||||
fi
|
||||
else
|
||||
RMDIR="$ac_cv_prog_RMDIR"
|
||||
fi
|
||||
|
||||
if test -n "$ac_tool_prefix"; then
|
||||
# Extract the first word of "${ac_tool_prefix}sed", so it can be a program name with args.
|
||||
set dummy ${ac_tool_prefix}sed; ac_word=$2
|
||||
|
Reference in New Issue
Block a user