Hi, On Wed, 2007-07-11 at 21:28:17 -0700, Russ Allbery wrote: > I do this in configure.ac: > > dnl If and only if we're on Linux, use a mapfile to do symbol versioning. > dnl We'd like to do this on all platforms, but the syntax is different > dnl everywhere and I don't feel like dealing with the differences. > case "$host" in > *-linux*)
This should probably be “*-gnu*)”, as this is dependent on ld and should be fine on any GNU based system. > VERSION_LDFLAGS="-Wl,--version-script=mapfile" > ;; > *) > VERSION_LDFLAGS="" > ;; > esac > AC_SUBST([VERSION_LDFLAGS]) regards, guillem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]