~ubuntu-branches/ubuntu/vivid/mpich/vivid-proposed

« back to all changes in this revision

Viewing changes to confdb/config.rpath

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2014-04-01 20:24:20 UTC
  • mfrom: (5.2.4 sid)
  • Revision ID: package-import@ubuntu.com-20140401202420-t5ey1ia2klt5dkq3
Tags: 3.1-4
* [c3e3398] Disable test_primitives, which is unreliable on some platforms.
            (Closes: #743047)
* [265a699] Add minimal autotest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
#
3
 
################################################################################
4
 
# MPICH custom modifications:
5
 
#
6
 
# This is the latest git version of config.rpath from gnulib as of 2011-06-16.
7
 
# The only modifications can be found at the bottom of the script where all of
8
 
# the output variables have been prefixed with "${PAC_CC_PREFIX}", which the
9
 
# caller should set if prefixed variables are desired.  That is, if
10
 
# "PAC_CC_PREFIX=FC_" then "FC_shlibext=..." will be in the output instead of
11
 
# "acl_cv_shlibext=...".
12
 
#
13
 
# The provenance of this script is a bit unclear.  It appears to be code that
14
 
# was excised from libtool 1.x and placed into GNU gettext.  The gettext project
15
 
# was the "official" upstream source of this script for a while, but it appears
16
 
# that gnulib is now where the most up-to-date version can be found.
17
 
#
18
 
# See PAC_COMPILER_SHLIB_FLAGS in confdb/aclocal_shl.m4 for MPICH's use of this
19
 
# script.  [goodell@ 2011-06-16]
20
 
################################################################################
21
 
#
22
3
# Output a system dependent set of variables, describing how to set the
23
4
# run time search path of shared libraries in an executable.
24
5
#
105
86
        ccc*)
106
87
          wl='-Wl,'
107
88
          ;;
108
 
        xl* | bgxl* | bgf* | mpixl*)
 
89
        xl* | bgxl* | bgf* | mpixl* | *bgq-linux-xl* )
109
90
          wl='-Wl,'
110
91
          ;;
111
92
        como)
675
656
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
676
657
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
677
658
 
678
 
# if the caller did not pass a prefix, then use a default that is compatible
679
 
# with the unmodified upstream version of this script
680
 
: ${PAC_CC_PREFIX=acl_cv_}
681
 
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/'"$PAC_CC_PREFIX"'\1=/' <<EOF
682
 
 
683
 
# MPICH ADDITION
684
 
# Shared library suffix, including any period (normally "so").
685
 
shrext="$shrext"
 
659
# MPICH modification: we don't prefix with acl_cv_ by default.  This
 
660
# is causing problems in the stock version of config.rpath as well.
 
661
# LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
 
662
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/\1=/' <<EOF
686
663
 
687
664
# How to pass a linker flag through the compiler.
688
665
wl="$escaped_wl"