From 90adfb51254f7c48b27dfdf517bb4c245febc453 Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Wed, 20 Nov 2013 02:37:33 -0300 Subject: [PATCH] Configure: Introduce d_libname_unique --- Configure | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Configure b/Configure index f9cbfe7..5cc5f64 100755 --- a/Configure +++ b/Configure @@ -575,6 +575,7 @@ d_killpg='' d_lchown='' d_ldbl_dig='' d_libm_lib_version='' +d_libname_unique='' d_link='' d_localtime_r='' d_localtime_r_needs_tzset='' @@ -4769,6 +4770,26 @@ rp='What is the file extension used for shared libraries?' . ./myread so="$ans" +: Does target system insist that shared library basenames are unique +$cat << EOM + +Some dynamic loaders assume that the *basename* of shared +library filenames are globally unique. +We'll default this to undef as we assume your system is not this +weird. Set to defined if you're on one of them. + +EOM + +dflt='n' +rp='Make shared library basenames unique?' +. ./myread +case "$ans" in +y|Y) val="$define" ;; +*) val="$undef" ;; +esac +set d_libname_unique +eval $setvar + : Define several unixisms. : Hints files or command line option can be used to override them. : The convoluted testing is in case hints files set either the old @@ -22890,6 +22911,7 @@ d_killpg='$d_killpg' d_lchown='$d_lchown' d_ldbl_dig='$d_ldbl_dig' d_libm_lib_version='$d_libm_lib_version' +d_libname_unique='$d_libname_unique' d_link='$d_link' d_localtime64='$d_localtime64' d_localtime_r='$d_localtime_r' -- 2.7.4