|
Matthew D Truch |
9f3ec05 |
diff -u cfitsio/configure cfitsio-new/configure
|
|
Matthew D Truch |
9f3ec05 |
--- cfitsio/configure 2005-07-28 17:26:13.000000000 -0400
|
|
Matthew D Truch |
9f3ec05 |
+++ cfitsio-new/configure 2005-11-13 14:36:39.000000000 -0500
|
|
Matthew D Truch |
9f3ec05 |
@@ -1251,7 +1251,8 @@
|
|
Matthew D Truch |
9f3ec05 |
SHLIB_SUFFIX=".sl"
|
|
Matthew D Truch |
9f3ec05 |
;;
|
|
Matthew D Truch |
9f3ec05 |
lnx)
|
|
Matthew D Truch |
9f3ec05 |
- SHLIB_LD=":"
|
|
Matthew D Truch |
9f3ec05 |
+ SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
|
|
Matthew D Truch |
9f3ec05 |
+ SHLIB_SUFFIX=".so.0"
|
|
Matthew D Truch |
9f3ec05 |
;;
|
|
Matthew D Truch |
9f3ec05 |
osf)
|
|
Matthew D Truch |
9f3ec05 |
SHLIB_LD="ld -shared -expect_unresolved '*'"
|
|
Matthew D Truch |
9f3ec05 |
@@ -1271,7 +1272,7 @@
|
|
Matthew D Truch |
9f3ec05 |
# Darwin uses gcc (=cc), but needs different flags (see above)
|
|
Matthew D Truch |
9f3ec05 |
# if test "x$GCC" = xyes; then
|
|
Matthew D Truch |
9f3ec05 |
if test "x$GCC" = xyes && test "x$EXT" != xdarwin && test "x$EXT" != xcygwin; then
|
|
Matthew D Truch |
9f3ec05 |
- SHLIB_LD="$CC -shared"
|
|
Matthew D Truch |
9f3ec05 |
+ SHLIB_LD="cc -shared -Wl,-soname,libcfitsio.so.0"
|
|
Matthew D Truch |
9f3ec05 |
lhea_shlib_cflags='-fPIC'
|
|
Matthew D Truch |
9f3ec05 |
fi
|
|
Matthew D Truch |
9f3ec05 |
if test "x$lhea_shlib_cflags" != x; then
|
|
Matthew D Truch |
4b40cfa |
diff -u old/Makefile.in new/Makefile.in
|
|
Matthew D Truch |
4b40cfa |
--- old/Makefile.in 2006-10-12 17:14:41.000000000 -0400
|
|
Matthew D Truch |
4b40cfa |
+++ new/Makefile.in 2006-12-05 16:36:24.000000000 -0500
|
|
Matthew D Truch |
f43a4fc |
@@ -21,8 +21,8 @@
|
|
Matthew D Truch |
4b40cfa |
prefix = @prefix@
|
|
Matthew D Truch |
4b40cfa |
exec_prefix = @exec_prefix@
|
|
Matthew D Truch |
4b40cfa |
CFITSIO_PREFIX = $(prefix)
|
|
Matthew D Truch |
4b40cfa |
-CFITSIO_LIB = $(exec_prefix)/lib
|
|
Matthew D Truch |
4b40cfa |
-CFITSIO_INCLUDE = $(prefix)/include
|
|
Matthew D Truch |
f43a4fc |
+CFITSIO_LIB = $(exec_prefix)/$(LIBDIR)
|
|
Matthew D Truch |
f43a4fc |
+CFITSIO_INCLUDE = $(prefix)/$(INCLUDEDIR)
|
|
Matthew D Truch |
4b40cfa |
INSTALL_DIRS = @INSTALL_ROOT@ ${CFITSIO_LIB} ${CFITSIO_LIB}/pkgconfig ${CFITSIO_INCLUDE}
|
|
Matthew D Truch |
4b40cfa |
|
|
Matthew D Truch |
4b40cfa |
|