]> granicus.if.org Git - neomutt/commitdiff
Update autosetup to 0.6.9
authorPietro Cerutti <gahr@gahr.ch>
Thu, 2 Aug 2018 12:08:39 +0000 (12:08 +0000)
committerPietro Cerutti <gahr@gahr.ch>
Thu, 2 Aug 2018 12:08:39 +0000 (12:08 +0000)
autosetup/README.autosetup
autosetup/autosetup
autosetup/cc-shared.tcl

index 2e077b81b12ce5677ae0c4f81abb2be563c26113..a6215e80a680f0e9bb71c4c464633cb6d57e2009 100644 (file)
@@ -1,4 +1,4 @@
-README.autosetup created by autosetup v0.6.8
+README.autosetup created by autosetup v0.6.9
 
 This is the autosetup directory for a local install of autosetup.
 It contains autosetup, support files and loadable modules.
index 63441bb8b27c110fd1d11efb43b8b9bd015cf2d5..a4480fd3b876d082fd318d4502ec6c0493816e36 100755 (executable)
@@ -5,7 +5,7 @@
 # \
 dir=`dirname "$0"`; exec "`$dir/autosetup-find-tclsh`" "$0" "$@"
 
-set autosetup(version) 0.6.8
+set autosetup(version) 0.6.9
 
 # Can be set to 1 to debug early-init problems
 set autosetup(debug) [expr {"--debug" in $argv}]
index a3edfad0dbec8f98d991469ab7e0624314b98a3d..0d6d52218ddd838f1134e419ec98538dd9d0be29 100644 (file)
@@ -9,11 +9,13 @@
 ## SH_CFLAGS         Flags to use compiling sources destined for a shared library
 ## SH_LDFLAGS        Flags to use linking (creating) a shared library
 ## SH_SOPREFIX       Prefix to use to set the soname when creating a shared library
+## SH_SOFULLPATH     Set to 1 if the shared library soname should include the full install path
 ## SH_SOEXT          Extension for shared libs
 ## SH_SOEXTVER       Format for versioned shared libs - %s = version
 ## SHOBJ_CFLAGS      Flags to use compiling sources destined for a shared object
 ## SHOBJ_LDFLAGS     Flags to use linking a shared object, undefined symbols allowed
 ## SHOBJ_LDFLAGS_R   - as above, but all symbols must be resolved
+## SH_LINKRPATH      Format for setting the rpath when linking an executable, %s = path
 ## SH_LINKFLAGS      Flags to use linking an executable which will load shared objects
 ## LD_LIBRARY_PATH   Environment variable which specifies path to shared libraries
 ## STRIPLIBFLAGS     Arguments to strip a dynamic library
 module-options {}
 
 # Defaults: gcc on unix
-define SHOBJ_CFLAGS -fpic
+define SHOBJ_CFLAGS -fPIC
 define SHOBJ_LDFLAGS -shared
-define SH_CFLAGS -fpic
+define SH_CFLAGS -fPIC
 define SH_LDFLAGS -shared
 define SH_LINKFLAGS -rdynamic
+define SH_LINKRPATH "-Wl,-rpath -Wl,%s"
 define SH_SOEXT .so
 define SH_SOEXTVER .so.%s
 define SH_SOPREFIX -Wl,-soname,
@@ -46,6 +49,7 @@ switch -glob -- [get-define host] {
                define SH_SOEXT .dylib
                define SH_SOEXTVER .%s.dylib
                define SH_SOPREFIX -Wl,-install_name,
+               define SH_SOFULLPATH
                define LD_LIBRARY_PATH DYLD_LIBRARY_PATH
                define STRIPLIBFLAGS -x
        }
@@ -54,6 +58,7 @@ switch -glob -- [get-define host] {
                define SHOBJ_LDFLAGS -shared
                define SH_CFLAGS ""
                define SH_LDFLAGS -shared
+               define SH_LINKRPATH ""
                define SH_LINKFLAGS ""
                define SH_SOEXT .dll
                define SH_SOEXTVER .dll
@@ -70,10 +75,6 @@ switch -glob -- [get-define host] {
                        define SH_CFLAGS -KPIC
                        define SH_LINKFLAGS -Wl,-export-dynamic
                        define SH_SOPREFIX -Wl,-h,
-               } else {
-                       # sparc has a very small GOT table limit, so use -fPIC
-                       define SH_CFLAGS -fPIC
-                       define SHOBJ_CFLAGS -fPIC
                }
        }
        *-*-solaris* {
@@ -105,11 +106,6 @@ switch -glob -- [get-define host] {
                define SH_SOPREFIX ""
                define LD_LIBRARY_PATH LIBRARY_PATH
        }
-       microblaze* {
-               # Microblaze generally needs -fPIC rather than -fpic
-               define SHOBJ_CFLAGS -fPIC
-               define SH_CFLAGS -fPIC
-       }
 }
 
 if {![is-defined SHOBJ_LDFLAGS_R]} {