Remove pointless assignments of variables to themselves
This commit is contained in:
parent
9fbf771a00
commit
2bbc52302c
1 changed files with 7 additions and 15 deletions
22
configure.ac
22
configure.ac
|
|
@ -713,8 +713,9 @@ else
|
||||||
|
|
||||||
# Cygwin (Windows) needs the library for dynamic linking
|
# Cygwin (Windows) needs the library for dynamic linking
|
||||||
case $host in
|
case $host in
|
||||||
*-*-cygwin* | *-*-mingw*) PYTHONDYNAMICLINKING="-L$PYLIB $PYLINK"
|
*-*-cygwin* | *-*-mingw*)
|
||||||
DEFS="-DUSE_DL_IMPORT $DEFS" PYINCLUDE="$PYINCLUDE"
|
PYTHONDYNAMICLINKING="-L$PYLIB $PYLINK"
|
||||||
|
DEFS="-DUSE_DL_IMPORT $DEFS"
|
||||||
;;
|
;;
|
||||||
*)PYTHONDYNAMICLINKING="";;
|
*)PYTHONDYNAMICLINKING="";;
|
||||||
esac
|
esac
|
||||||
|
|
@ -808,8 +809,9 @@ else
|
||||||
|
|
||||||
# Cygwin (Windows) needs the library for dynamic linking
|
# Cygwin (Windows) needs the library for dynamic linking
|
||||||
case $host in
|
case $host in
|
||||||
*-*-cygwin* | *-*-mingw*) PYTHON3DYNAMICLINKING="-L$PYLIB $PY3LINK"
|
*-*-cygwin* | *-*-mingw*)
|
||||||
DEFS="-DUSE_DL_IMPORT $DEFS" PY3INCLUDE="$PY3INCLUDE"
|
PYTHON3DYNAMICLINKING="-L$PYLIB $PY3LINK"
|
||||||
|
DEFS="-DUSE_DL_IMPORT $DEFS"
|
||||||
;;
|
;;
|
||||||
*)PYTHON3DYNAMICLINKING="";;
|
*)PYTHON3DYNAMICLINKING="";;
|
||||||
esac
|
esac
|
||||||
|
|
@ -1300,7 +1302,7 @@ else
|
||||||
AC_MSG_CHECKING(for MzScheme dynext object)
|
AC_MSG_CHECKING(for MzScheme dynext object)
|
||||||
MZDYNOBJ=`$MZSCHEME --eval '(begin (require dynext/link) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (printf "~a" x)) (expand-for-link-variant (current-standard-link-libraries)))))' 2>/dev/null`
|
MZDYNOBJ=`$MZSCHEME --eval '(begin (require dynext/link) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (printf "~a" x)) (expand-for-link-variant (current-standard-link-libraries)))))' 2>/dev/null`
|
||||||
if test -f "$MZDYNOBJ"; then
|
if test -f "$MZDYNOBJ"; then
|
||||||
MZDYNOBJ="$MZDYNOBJ"
|
:
|
||||||
else
|
else
|
||||||
# older versions (3.72 approx and earlier)
|
# older versions (3.72 approx and earlier)
|
||||||
MZDYNOBJ=`$MZSCHEME --mute-banner --version --eval '(begin (require (lib "link.ss" "dynext")) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (display x) (display " ")) ((current-make-standard-link-libraries)))) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (display x)) (expand-for-link-variant (current-standard-link-libraries)))))' 2>/dev/null`
|
MZDYNOBJ=`$MZSCHEME --mute-banner --version --eval '(begin (require (lib "link.ss" "dynext")) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (display x) (display " ")) ((current-make-standard-link-libraries)))) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (display x)) (expand-for-link-variant (current-standard-link-libraries)))))' 2>/dev/null`
|
||||||
|
|
@ -1511,36 +1513,26 @@ else
|
||||||
AC_MSG_CHECKING(for Ocaml DL load generator)
|
AC_MSG_CHECKING(for Ocaml DL load generator)
|
||||||
if test -z "$OCAMLDLGEN"; then
|
if test -z "$OCAMLDLGEN"; then
|
||||||
AC_CHECK_PROGS(OCAMLDLGEN, ocamldlgen, :)
|
AC_CHECK_PROGS(OCAMLDLGEN, ocamldlgen, :)
|
||||||
else
|
|
||||||
OCAMLDLGEN="$OCAMLDLGEN"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Ocaml package tool)
|
AC_MSG_CHECKING(for Ocaml package tool)
|
||||||
if test -z "$OCAMLFIND"; then
|
if test -z "$OCAMLFIND"; then
|
||||||
AC_CHECK_PROGS(OCAMLFIND, ocamlfind, :)
|
AC_CHECK_PROGS(OCAMLFIND, ocamlfind, :)
|
||||||
else
|
|
||||||
OCAMLFIND="$OCAMLFIND"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Ocaml compiler)
|
AC_MSG_CHECKING(for Ocaml compiler)
|
||||||
if test -z "$OCAMLC"; then
|
if test -z "$OCAMLC"; then
|
||||||
AC_CHECK_PROGS(OCAMLC, ocamlc, :)
|
AC_CHECK_PROGS(OCAMLC, ocamlc, :)
|
||||||
else
|
|
||||||
OCAMLC="$OCAMLC"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Ocaml interpreter)
|
AC_MSG_CHECKING(for Ocaml interpreter)
|
||||||
if test "x$OCAMLBIN" = xyes; then
|
if test "x$OCAMLBIN" = xyes; then
|
||||||
AC_CHECK_PROGS(OCAMLBIN, ocaml, :)
|
AC_CHECK_PROGS(OCAMLBIN, ocaml, :)
|
||||||
else
|
|
||||||
OCAMLBIN="$OCAMLBIN"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(for Ocaml toplevel creator)
|
AC_MSG_CHECKING(for Ocaml toplevel creator)
|
||||||
if test -z "$OCAMLMKTOP"; then
|
if test -z "$OCAMLMKTOP"; then
|
||||||
AC_CHECK_PROGS(OCAMLMKTOP, ocamlmktop, :)
|
AC_CHECK_PROGS(OCAMLMKTOP, ocamlmktop, :)
|
||||||
else
|
|
||||||
OCAMLMKTOP="$OCAMLMKTOP"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
OCAMLLOC=loc
|
OCAMLLOC=loc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue