Changeset 825


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

corrected RPATH_FLAGS setting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/configure

    r824 r825  
    1984619846
    1984719847if test $enable_shared = yes; then
    19848   if test "$GXX" = "yes"; then
    19849     RPATH_FLAGS=
    19850     for dir in $abs_lib_dir; do
    19851       RPATH_FLAGS="$RPATH_FLAGS -Wl,-rpath -Wl,$dir"
    19852     done
    19853   else
    19854     case $build in
    19855       *-linux-*)
    19856         case "$CXX" in
    19857         icpc* | */icpc*)
    19858           RPATH_FLAGS=
    19859           for dir in $abs_lib_dir; do
    19860             RPATH_FLAGS="$RPATH_FLAGS -Wl,-rpath -Wl,$dir"
    19861           done
    19862         esac ;;
    19863       *-ibm-*)
    19864         case "$CXX" in
    19865         xlC* | */xlC* | mpxlC* | */mpxlC*)
    19866           RPATH_FLAGS=nothing ;;
    19867         esac ;;
    19868       *-hp-*)
    19869           RPATH_FLAGS=nothing ;;
    19870       *-mingw32)
    19871           RPATH_FLAGS=nothing ;;
    19872       *-sun-*)
    19873           RPATH_FLAGS=
    19874           for dir in $abs_lib_dir; do
    19875             RPATH_FLAGS="$RPATH_FLAGS -R$dir"
    19876           done
    19877      esac
    19878   fi
     19848  case $build in
     19849    *-linux-*)
     19850      case "$CXX" in
     19851      icpc* | */icpc*)
     19852        RPATH_FLAGS=
     19853        for dir in $abs_lib_dir; do
     19854          RPATH_FLAGS="$RPATH_FLAGS -Wl,--rpath -Wl,$dir"
     19855        done
     19856      esac ;;
     19857    *-ibm-*)
     19858      case "$CXX" in
     19859      xlC* | */xlC* | mpxlC* | */mpxlC*)
     19860        RPATH_FLAGS=nothing ;;
     19861      esac ;;
     19862    *-hp-*)
     19863        RPATH_FLAGS=nothing ;;
     19864    *-mingw32)
     19865        RPATH_FLAGS=nothing ;;
     19866    *-sun-*)
     19867        RPATH_FLAGS=
     19868        for dir in $abs_lib_dir; do
     19869          RPATH_FLAGS="$RPATH_FLAGS -R$dir"
     19870        done
     19871  esac
    1987919872
    1988019873  if test "$RPATH_FLAGS" = ""; then
    19881     { 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
    19882 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;}
     19874    { 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
     19875echo "$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;}
    1988319876  fi
    1988419877  if test "$RPATH_FLAGS" = "nothing"; then
Note: See TracChangeset for help on using the changeset viewer.