1998-09-27 20:13:16 +00:00
|
|
|
--- configure.orig Tue Jun 6 14:58:50 1995
|
|
|
|
+++ configure Sat Sep 26 23:34:48 1998
|
1997-10-06 08:18:49 +00:00
|
|
|
@@ -1472,13 +1472,13 @@
|
|
|
|
# ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
CC_FLAGS=\
|
|
|
|
-"-c $DBL_FLAG_C $DEBUG_FLAG_C $SYS_FLAGS_C $PROF_FLAG_C $OPT_FLAG_C"
|
|
|
|
+"-c $CFLAGS $DBL_FLAG_C $DEBUG_FLAG_C $SYS_FLAGS_C $PROF_FLAG_C $OPT_FLAG_C"
|
|
|
|
|
|
|
|
CXX_FLAGS=\
|
|
|
|
-"-c $DBL_FLAG_CXX $DEBUG_FLAG_CXX $SYS_FLAGS_CXX $PROF_FLAG_CXX $OPT_FLAG_CXX"
|
|
|
|
+"-c $CFLAGS $DBL_FLAG_CXX $DEBUG_FLAG_CXX $SYS_FLAGS_CXX $PROF_FLAG_CXX $OPT_FLAG_CXX"
|
|
|
|
|
|
|
|
F77_FLAGS=\
|
|
|
|
-"-c $DBL_FLAG_F $DEBUG_FLAG_F $SYS_FLAGS_F $PROF_FLAG_F $OPT_FLAG_F"
|
|
|
|
+"-c $FFLAGS $DBL_FLAG_F $DEBUG_FLAG_F $SYS_FLAGS_F $PROF_FLAG_F $OPT_FLAG_F"
|
|
|
|
|
|
|
|
LDC_FLAGS=\
|
|
|
|
"$PROF_FLAG_LC $SYS_FLAGS_LC $DEBUG_FLAG_LC"
|
1998-09-27 20:13:16 +00:00
|
|
|
@@ -3062,6 +3062,20 @@
|
1997-10-06 08:18:49 +00:00
|
|
|
# Hmm, would be good to replace that trailing .0 with the
|
|
|
|
# compilation number or some such. Have to think about that.
|
|
|
|
;;
|
|
|
|
+ FreeBSD*|NetBSD*|OpenBSD* )
|
|
|
|
+ SHLIB_CCFLAGS="-fpic -DPIC"
|
|
|
|
+ SHLIB_CXXFLAGS="-fpic -DPIC"
|
1998-09-27 20:13:16 +00:00
|
|
|
+ if [ "${PORTOBJFORMAT}" = "elf" ]; then
|
|
|
|
+ SO='.so.$(MAJOR_VERSION)'
|
|
|
|
+ SHLIB_BUILD="ld -shared -soname \$@ -o"
|
|
|
|
+ SOVERSION='$(MAJOR_VERSION)'
|
|
|
|
+ else
|
|
|
|
+ SO='.so.$(MAJOR_VERSION).$(MINOR_VERSION)'
|
|
|
|
+ SHLIB_BUILD="ld -Bshareable -o"
|
|
|
|
+ SOVERSION='$(MAJOR_VERSION).$(MINOR_VERSION)'
|
|
|
|
+ fi
|
1997-10-06 08:18:49 +00:00
|
|
|
+ echo "$ac_t""okay" 1>&6
|
|
|
|
+ ;;
|
|
|
|
HP-UX-* )
|
|
|
|
SO=".sl"
|
|
|
|
SHLIB_F77FLAGS="+z"
|
1998-09-27 20:13:16 +00:00
|
|
|
@@ -4192,16 +4206,16 @@
|
1997-10-06 08:18:49 +00:00
|
|
|
fi
|
|
|
|
fi
|
|
|
|
if test -z "$DOC_DIR"; then
|
|
|
|
- DOC_DIR=$prefix/doc
|
|
|
|
+ DOC_DIR=$prefix/share/doc/plplot
|
|
|
|
fi
|
|
|
|
if test -z "$INFO_DIR"; then
|
|
|
|
INFO_DIR=$prefix/info
|
|
|
|
fi
|
|
|
|
if test -z "$INCLUDE_DIR"; then
|
|
|
|
- INCLUDE_DIR=$prefix/include
|
|
|
|
+ INCLUDE_DIR=$prefix/include/plplot
|
|
|
|
fi
|
|
|
|
if test -z "$DEMOS_DIR"; then
|
|
|
|
- DEMOS_DIR=$prefix/examples
|
|
|
|
+ DEMOS_DIR=$prefix/share/examples/plplot
|
|
|
|
fi
|
|
|
|
|
|
|
|
cat >> confdefs.h <<EOF
|