update configure
This commit is contained in:
parent
de2f42f9c2
commit
4839fe8a68
131
configure
vendored
131
configure
vendored
@ -272,7 +272,7 @@ PACKAGE_STRING=
|
|||||||
PACKAGE_BUGREPORT=
|
PACKAGE_BUGREPORT=
|
||||||
|
|
||||||
ac_unique_file="src/System/Plugins.hs"
|
ac_unique_file="src/System/Plugins.hs"
|
||||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os PREFIX TOP GHC GLASGOW_HASKELL HASKELL_SRC TEX TEX2PAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os PREFIX TOP GHC GLASGOW_HASKELL HASKELL_SRC CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
|
||||||
ac_subst_files=''
|
ac_subst_files=''
|
||||||
|
|
||||||
# Initialize some variables set by options.
|
# Initialize some variables set by options.
|
||||||
@ -909,7 +909,7 @@ esac
|
|||||||
else
|
else
|
||||||
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
||||||
fi
|
fi
|
||||||
cd "$ac_popdir"
|
cd $ac_popdir
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1382,7 +1382,7 @@ _ACEOF
|
|||||||
|
|
||||||
# Find pwd, in a cygwin friendly way.
|
# Find pwd, in a cygwin friendly way.
|
||||||
# Suggested by: http://www.haskell.org/ghc/docs/latest/html/users_guide/ch11s04.html
|
# Suggested by: http://www.haskell.org/ghc/docs/latest/html/users_guide/ch11s04.html
|
||||||
TOP=`echo "Directory.getCurrentDirectory >>= putStrLn.init.tail.show " | ghc --interactive -ignore-dot-ghci -v0`
|
TOP=`echo "Directory.getCurrentDirectory >>= putStrLn.init.tail.show " | ghc --interactive -ignore-dot-ghci -v0 | tr -d '\r'`
|
||||||
|
|
||||||
|
|
||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
@ -1472,7 +1472,7 @@ fi
|
|||||||
if test -n "$GHC" ; then
|
if test -n "$GHC" ; then
|
||||||
echo "$as_me:$LINENO: checking for ghc library directory" >&5
|
echo "$as_me:$LINENO: checking for ghc library directory" >&5
|
||||||
echo $ECHO_N "checking for ghc library directory... $ECHO_C" >&6
|
echo $ECHO_N "checking for ghc library directory... $ECHO_C" >&6
|
||||||
GHC_LIB_PATH=`$GHC --print-libdir`
|
GHC_LIB_PATH=`$GHC --print-libdir | tr -d '\r'`
|
||||||
echo "$as_me:$LINENO: result: $GHC_LIB_PATH" >&5
|
echo "$as_me:$LINENO: result: $GHC_LIB_PATH" >&5
|
||||||
echo "${ECHO_T}$GHC_LIB_PATH" >&6
|
echo "${ECHO_T}$GHC_LIB_PATH" >&6
|
||||||
fi
|
fi
|
||||||
@ -1512,86 +1512,15 @@ fi;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Extract the first word of "tex", so it can be a program name with args.
|
#AC_CHECK_PROG(TEX,tex,tex)
|
||||||
set dummy tex; ac_word=$2
|
#if test -z "$TEX" ; then
|
||||||
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
# AC_MSG_WARN(tex is needed to build some of the documentation)
|
||||||
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
#fi
|
||||||
if test "${ac_cv_prog_TEX+set}" = set; then
|
#AC_CHECK_PROG(TEX2PAGE,tex2page,tex2page)
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
#if test -z "$TEX2PAGE" ; then
|
||||||
else
|
# AC_MSG_WARN(tex2page is needed to build some of the documentation
|
||||||
if test -n "$TEX"; then
|
# http://www.ccs.neu.edu/home/dorai/tex2page/tex2page-doc.html)
|
||||||
ac_cv_prog_TEX="$TEX" # Let the user override the test.
|
#fi
|
||||||
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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_prog_TEX="tex"
|
|
||||||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
TEX=$ac_cv_prog_TEX
|
|
||||||
if test -n "$TEX"; then
|
|
||||||
echo "$as_me:$LINENO: result: $TEX" >&5
|
|
||||||
echo "${ECHO_T}$TEX" >&6
|
|
||||||
else
|
|
||||||
echo "$as_me:$LINENO: result: no" >&5
|
|
||||||
echo "${ECHO_T}no" >&6
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$TEX" ; then
|
|
||||||
{ echo "$as_me:$LINENO: WARNING: tex is needed to build some of the documentation" >&5
|
|
||||||
echo "$as_me: WARNING: tex is needed to build some of the documentation" >&2;}
|
|
||||||
fi
|
|
||||||
# Extract the first word of "tex2page", so it can be a program name with args.
|
|
||||||
set dummy tex2page; 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_TEX2PAGE+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
if test -n "$TEX2PAGE"; then
|
|
||||||
ac_cv_prog_TEX2PAGE="$TEX2PAGE" # 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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
||||||
ac_cv_prog_TEX2PAGE="tex2page"
|
|
||||||
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
||||||
break 2
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
TEX2PAGE=$ac_cv_prog_TEX2PAGE
|
|
||||||
if test -n "$TEX2PAGE"; then
|
|
||||||
echo "$as_me:$LINENO: result: $TEX2PAGE" >&5
|
|
||||||
echo "${ECHO_T}$TEX2PAGE" >&6
|
|
||||||
else
|
|
||||||
echo "$as_me:$LINENO: result: no" >&5
|
|
||||||
echo "${ECHO_T}no" >&6
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$TEX2PAGE" ; then
|
|
||||||
{ echo "$as_me:$LINENO: WARNING: tex2page is needed to build some of the documentation
|
|
||||||
http://www.ccs.neu.edu/home/dorai/tex2page/tex2page-doc.html" >&5
|
|
||||||
echo "$as_me: WARNING: tex2page is needed to build some of the documentation
|
|
||||||
http://www.ccs.neu.edu/home/dorai/tex2page/tex2page-doc.html" >&2;}
|
|
||||||
fi
|
|
||||||
|
|
||||||
ac_ext=c
|
ac_ext=c
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
ac_cpp='$CPP $CPPFLAGS'
|
||||||
@ -2161,7 +2090,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
{ ac_try='test -z "$ac_c_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -2219,7 +2149,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
{ ac_try='test -z "$ac_c_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -2335,7 +2266,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
{ ac_try='test -z "$ac_c_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -2389,7 +2321,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
{ ac_try='test -z "$ac_c_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -2434,7 +2367,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
{ ac_try='test -z "$ac_c_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -2478,7 +2412,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
|||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
{ ac_try='test -z "$ac_c_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -2587,7 +2522,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
|||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
||||||
(exit $ac_status); } &&
|
(exit $ac_status); } &&
|
||||||
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
|
{ ac_try='test -z "$ac_c_werror_flag"
|
||||||
|
|| test ! -s conftest.err'
|
||||||
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
||||||
(eval $ac_try) 2>&5
|
(eval $ac_try) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -3325,8 +3261,6 @@ s,@TOP@,$TOP,;t t
|
|||||||
s,@GHC@,$GHC,;t t
|
s,@GHC@,$GHC,;t t
|
||||||
s,@GLASGOW_HASKELL@,$GLASGOW_HASKELL,;t t
|
s,@GLASGOW_HASKELL@,$GLASGOW_HASKELL,;t t
|
||||||
s,@HASKELL_SRC@,$HASKELL_SRC,;t t
|
s,@HASKELL_SRC@,$HASKELL_SRC,;t t
|
||||||
s,@TEX@,$TEX,;t t
|
|
||||||
s,@TEX2PAGE@,$TEX2PAGE,;t t
|
|
||||||
s,@CC@,$CC,;t t
|
s,@CC@,$CC,;t t
|
||||||
s,@CFLAGS@,$CFLAGS,;t t
|
s,@CFLAGS@,$CFLAGS,;t t
|
||||||
s,@LDFLAGS@,$LDFLAGS,;t t
|
s,@LDFLAGS@,$LDFLAGS,;t t
|
||||||
@ -3505,6 +3439,11 @@ esac
|
|||||||
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if test x"$ac_file" != x-; then
|
||||||
|
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
||||||
|
echo "$as_me: creating $ac_file" >&6;}
|
||||||
|
rm -f "$ac_file"
|
||||||
|
fi
|
||||||
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
||||||
# use $as_me), people would be surprised to read:
|
# use $as_me), people would be surprised to read:
|
||||||
# /* config.h. Generated by config.status. */
|
# /* config.h. Generated by config.status. */
|
||||||
@ -3543,12 +3482,6 @@ echo "$as_me: error: cannot find input file: $f" >&2;}
|
|||||||
fi;;
|
fi;;
|
||||||
esac
|
esac
|
||||||
done` || { (exit 1); exit 1; }
|
done` || { (exit 1); exit 1; }
|
||||||
|
|
||||||
if test x"$ac_file" != x-; then
|
|
||||||
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
|
||||||
echo "$as_me: creating $ac_file" >&6;}
|
|
||||||
rm -f "$ac_file"
|
|
||||||
fi
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
cat >>$CONFIG_STATUS <<_ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF
|
||||||
sed "$ac_vpsub
|
sed "$ac_vpsub
|
||||||
|
Loading…
x
Reference in New Issue
Block a user