if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftestdata
if ln -s X conftestdata 2>/dev/null
then
rm -f conftestdata
ac_cv_prog_LN_S="ln -s"
else
ac_cv_prog_LN_S=ln
fi
fi
LN_S="$ac_cv_prog_LN_S"
if test "$ac_cv_prog_LN_S" = "ln -s"; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
fi
# Extract the first word of "convert", so it can be a program name with args.
set dummy convert; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2306: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_CONVERT'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$CONVERT" in
/*)
ac_cv_path_CONVERT="$CONVERT" # Let the user override the test with a path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_CONVERT="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
test -z "$ac_cv_path_CONVERT" && ac_cv_path_CONVERT="$PATH:/bin:/usr/bin:/usr/local/bin:/usr/openwin/bin:/usr/local/openwin/bin:/usr/local/X11/bin:/usr/X11/bin:/usr/X11R6/bin"
;;
esac
fi
CONVERT="$ac_cv_path_CONVERT"
if test -n "$CONVERT"; then
echo "$ac_t""$CONVERT" 1>&6
else
echo "$ac_t""no" 1>&6
fi
# Extract the first word of "tgatoppm", so it can be a program name with args.
set dummy tgatoppm; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2338: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GIFTOPPM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$GIFTOPPM" in
/*)
ac_cv_path_GIFTOPPM="$GIFTOPPM" # Let the user override the test with a path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_GIFTOPPM="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
test -z "$ac_cv_path_GIFTOPPM" && ac_cv_path_GIFTOPPM="$PATH:/bin:/usr/bin:/usr/local/bin:/usr/openwin/bin:/usr/local/openwin/bin:/usr/local/X11/bin:/usr/X11/bin:/usr/X11R6/bin"
;;
esac
fi
GIFTOPPM="$ac_cv_path_GIFTOPPM"
if test -n "$GIFTOPPM"; then
echo "$ac_t""$GIFTOPPM" 1>&6
else
echo "$ac_t""no" 1>&6
fi
# Extract the first word of "djpeg", so it can be a program name with args.
set dummy djpeg; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:2370: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_DJPEG'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
case "$DJPEG" in
/*)
ac_cv_path_DJPEG="$DJPEG" # Let the user override the test with a path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_DJPEG="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
test -z "$ac_cv_path_DJPEG" && ac_cv_path_DJPEG="$PATH:/bin:/usr/bin:/usr/local/bin:/usr/openwin/bin:/usr/local/openwin/bin:/usr/local/X11/bin:/usr/X11/bin:/usr/X11R6/bin"
;;
esac
fi
DJPEG="$ac_cv_path_DJPEG"
if test -n "$DJPEG"; then
echo "$ac_t""$DJPEG" 1>&6
else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for fopen in -lc""... $ac_c" 1>&6
echo "configure:2400: checking for fopen in -lc" >&5
ac_lib_var=`echo c'_'fopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lc \
${LIBS} ${X_LIBS} -lX11 -lXext -lc $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2409 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char fopen();
int main() {
fopen()
; return 0; }
EOF
if { (eval echo configure:2420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then