Use _CALL_DL_FCT to call function from dynamically loaded object.
[kopensolaris-gnu/glibc.git] / glibcbug.in
index 0bc61f6..0f392e7 100644 (file)
@@ -6,11 +6,12 @@
 #       these variables are filled in by configure
 #
 VERSION="@VERSION@"
-BUGGLIBC="bugs@gnu.org"
+RELEASE="@RELEASE@"
 ADDONS="@subdirs@"
 HOST="@host@"
 CC='@CC@'
 CFLAGS="@CFLAGS@"
+SYSINCLUDES="@SYSINCLUDES@"
 VERSIONING="@VERSIONING@"
 BUILD_STATIC="@static@"
 BUILD_SHARED="@shared@"
@@ -34,6 +35,12 @@ if test $? -ne 0; then
   chmod 600 $TEMPx
 fi
 
+if test "$RELEASE" = "stable"; then
+  BUGGLIBC="bugs@gnu.org"
+else
+  BUGGLIBC="libc-alpha@cygnus.com"
+fi
+
 BUGADDR=${1-$BUGGLIBC}
 
 : ${EDITOR=emacs}
@@ -107,7 +114,7 @@ CCVERSION=`$CC -v 2>&1 | sed -n 's/gcc version //p'`
 case $HOST in *linux*)
   KHDRS=`(echo '#include <linux/version.h>'
          echo '! UTS_RELEASE' ) |
-        $CC -E - | sed -n '/!/s/[! "]//gp'`;;
+        $CC $SYSINCLUDES -E - | sed -n '/!/s/[! "]//gp'`;;
 esac
 
 ORGANIZATION_C='<organization of PR author (multiple lines)>'