Check-in [b61a769f0b]
Overview
Comment:Updated to latest autoconf headers
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:b61a769f0b98bc742ac0b9ace8200acccd38bf2a
User & Date: rkeene on 2015-02-02 16:27:12
Other Links: manifest | tags
Context
2016-01-25
18:09
Updated to respect --prefix check-in: 4395e6083a user: rkeene tags: trunk
2015-02-02
16:27
Updated to latest autoconf headers check-in: b61a769f0b user: rkeene tags: trunk
16:26
Added more search paths for libcurl check-in: ecb174b881 user: rkeene tags: trunk
Changes

Modified aclocal/shobj.m4 from [455eb6a4ce] to [9a0374cc5c].

   165    165   				CFLAGS="$CFLAGS -mms-bitfields"
   166    166   				CPPFLAGS="$CPPFLAGS -mms-bitfields"
   167    167   				SHOBJLDFLAGS='-shared -Wl,--enable-auto-image-base -Wl,--output-def,$[@].def,--out-implib,$[@].a'
   168    168   				;;
   169    169   		esac
   170    170   	fi
   171    171   ])
          172  +
          173  +AC_DEFUN(SHOBJ_SET_SONAME, [
          174  +	SAVE_LDFLAGS="$LDFLAGS"
          175  +
          176  +	AC_MSG_CHECKING([how to specify soname])
          177  +
          178  +	for try in "-Wl,--soname,$1" "Wl,-install_name,$1" '__fail__'; do
          179  +		LDFLAGS="$SAVE_LDFLAGS"
          180  +
          181  +		if test "${try}" = '__fail__'; then
          182  +			AC_MSG_RESULT([can't])
          183  +
          184  +			break
          185  +		fi
          186  +
          187  +		LDFLAGS="${LDFLAGS} ${try}"
          188  +		AC_TRY_LINK([void TestTest(void) { return; }], [], [
          189  +			LDFLAGS="${SAVE_LDFLAGS}"
          190  +			SHOBJLDFLAGS="${SHOBJLDFLAGS} ${try}"
          191  +
          192  +			AC_MSG_RESULT([$try])
          193  +
          194  +			break
          195  +		])
          196  +	done
          197  +
          198  +	AC_SUBST(SHOBJLDFLAGS)
          199  +])

Modified aclocal/versionscript.m4 from [68146d5f5a] to [b9d44e1a68].

    31     31   
    32     32   			break
    33     33   		])
    34     34   	done
    35     35   
    36     36   	rm -f "${TMPSYMFILE}"
    37     37   	rm -f "${TMPVERSIONSCRIPT}"
           38  +
           39  +	LDFLAGS="${SAVE_LDFLAGS}"
    38     40   
    39     41   	if test -n "${addldflags}"; then
    40         -		LDFLAGS="${SAVE_LDFLAGS} ${addldflags}"
           42  +		SHOBJLDFLAGS="${SHOBJLDFLAGS} ${addldflags}"
           43  +
    41     44   		AC_MSG_RESULT($addldflags)
    42     45   	else
    43         -		LDFLAGS="${SAVE_LDFLAGS}"
    44     46   		AC_MSG_RESULT([don't know])
    45     47   	fi
           48  +
           49  +	AC_SUBST(SHOBJLDFLAGS)
    46     50   ])
    47     51   
    48     52   AC_DEFUN([DC_FIND_STRIP_AND_REMOVESYMS], [
    49     53   	SYMFILE="$1"
    50     54   
    51     55   	dnl Determine how to strip executables
    52     56   	AC_CHECK_TOOLS(OBJCOPY, objcopy gobjcopy, [false])