Changeset 385


Ignore:
Timestamp:
Jun 21, 2006 5:32:01 PM (14 years ago)
Author:
andreasw
Message:

corrected RPATH_FLAGS setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/configure

    r384 r385  
    1987119871
    1987219872if test $enable_shared = yes; then
    19873   if test "$GXX" = "yes"; then
    19874     RPATH_FLAGS=
    19875     for dir in $abs_lib_dir; do
    19876       RPATH_FLAGS="$RPATH_FLAGS -Wl,-rpath -Wl,$dir"
    19877     done
    19878   else
    19879     case $build in
    19880       *-linux-*)
    19881         case "$CXX" in
    19882         icpc* | */icpc*)
    19883           RPATH_FLAGS=
    19884           for dir in $abs_lib_dir; do
    19885             RPATH_FLAGS="$RPATH_FLAGS -Wl,-rpath -Wl,$dir"
    19886           done
    19887         esac ;;
    19888       *-ibm-*)
    19889         case "$CXX" in
    19890         xlC* | */xlC* | mpxlC* | */mpxlC*)
    19891           RPATH_FLAGS=nothing ;;
    19892         esac ;;
    19893       *-hp-*)
    19894           RPATH_FLAGS=nothing ;;
    19895       *-mingw32)
    19896           RPATH_FLAGS=nothing ;;
    19897       *-sun-*)
    19898           RPATH_FLAGS=
    19899           for dir in $abs_lib_dir; do
    19900             RPATH_FLAGS="$RPATH_FLAGS -R$dir"
    19901           done
    19902      esac
    19903   fi
     19873  case $build in
     19874    *-linux-*)
     19875      case "$CXX" in
     19876      icpc* | */icpc*)
     19877        RPATH_FLAGS=
     19878        for dir in $abs_lib_dir; do
     19879          RPATH_FLAGS="$RPATH_FLAGS -Wl,--rpath -Wl,$dir"
     19880        done
     19881      esac ;;
     19882    *-ibm-*)
     19883      case "$CXX" in
     19884      xlC* | */xlC* | mpxlC* | */mpxlC*)
     19885        RPATH_FLAGS=nothing ;;
     19886      esac ;;
     19887    *-hp-*)
     19888        RPATH_FLAGS=nothing ;;
     19889    *-mingw32)
     19890        RPATH_FLAGS=nothing ;;
     19891    *-sun-*)
     19892        RPATH_FLAGS=
     19893        for dir in $abs_lib_dir; do
     19894          RPATH_FLAGS="$RPATH_FLAGS -R$dir"
     19895        done
     19896  esac
    1990419897
    1990519898  if test "$RPATH_FLAGS" = ""; then
    19906     { echo "$as_me:$LINENO: WARNING: Could not automatically determine how to tell the linker about automatic inclusion of the path for shared libraries.  The test examples might not work if you link against shared objects.  You will need to set the LD_LIBRARY_PATH or LIBDIR variable manually." >&5
    19907 echo "$as_me: WARNING: Could not automatically determine how to tell the linker about automatic inclusion of the path for shared libraries.  The test examples might not work if you link against shared objects.  You will need to set the LD_LIBRARY_PATH or LIBDIR variable manually." >&2;}
     19899    { echo "$as_me:$LINENO: WARNING: Could not automatically determine how to tell the linker about automatic inclusion of the path for shared libraries.  The test examples might not work if you link against shared objects.  You will need to set the LD_LIBRARY_PATH, DYLP_LIBRARY_PATH, or LIBDIR variable manually." >&5
     19900echo "$as_me: WARNING: Could not automatically determine how to tell the linker about automatic inclusion of the path for shared libraries.  The test examples might not work if you link against shared objects.  You will need to set the LD_LIBRARY_PATH, DYLP_LIBRARY_PATH, or LIBDIR variable manually." >&2;}
    1990819901  fi
    1990919902  if test "$RPATH_FLAGS" = "nothing"; then
Note: See TracChangeset for help on using the changeset viewer.