| 1 |
diff -up Macaulay2-1.2/configure.ac.pari Macaulay2-1.2/configure.ac
|
| 2 |
--- Macaulay2-1.2/configure.ac.pari 2009-02-13 08:10:27.000000000 -0600
|
| 3 |
+++ Macaulay2-1.2/configure.ac 2009-02-13 09:27:19.000000000 -0600
|
| 4 |
@@ -1009,9 +1009,11 @@ do case $i in
|
| 5 |
# socket: dynamic loading of libraries is used to determine the current way to look up an IP number
|
| 6 |
# libgcc_s: comes only in dynamic form
|
| 7 |
-lncurses | -lsocket | -lgcc_s* ) LIBS_DYNAMIC="$LIBS_DYNAMIC $i" ;;
|
| 8 |
- # we must link statically with some libraries:
|
| 9 |
- # libpari: provides no version number at run time, and we must ensure it is configured based on gmp
|
| 10 |
- -lpari ) LIBS_STATIC="$LIBS_STATIC $i" ;;
|
| 11 |
+ # but on some systems, libpari is provided only dynamically (fedora), so we link dynamically
|
| 12 |
+ # and later we'll figure out a run-time test for whether pari is based on gmp
|
| 13 |
+ # # we must link statically with some libraries:
|
| 14 |
+ # # libpari: provides no version number at run time, and we must ensure it is configured based on gmp
|
| 15 |
+ # -lpari ) LIBS_STATIC="$LIBS_STATIC $i" ;;
|
| 16 |
*) LIBS_STATIC_OR_DYNAMIC="$LIBS_STATIC_OR_DYNAMIC $i" ;;
|
| 17 |
esac
|
| 18 |
done
|