bfd/
[deliverable/binutils-gdb.git] / bfd / configure.in
index ad203f40a3e267be8ab53f9ee5fbcf272aa9e5aa..1cd339bf1bd042d3a55f78837a9ee84e192551a8 100644 (file)
@@ -76,6 +76,25 @@ AC_ARG_WITH(pkgversion,
 )
 AC_SUBST(PKGVERSION)
 
+# The location to which bugs should be reported.
+AC_ARG_WITH(bugurl,
+  AS_HELP_STRING([--with-bugurl=URL],
+                 [Direct users to URL to report a bug]),
+  [case "$withval" in
+    yes) AC_MSG_ERROR([bug URL not specified]) ;;
+    no)  REPORT_BUGS_TO="";
+        REPORT_BUGS_TEXI=""
+        ;;
+    *)   REPORT_BUGS_TO="<URL:$withval>"
+        REPORT_BUGS_TEXI="@uref{`echo $withval | sed 's/@/@@/g'`}"
+        ;;
+   esac],
+   REPORT_BUGS_TO="<URL:http://www.sourceware.org/bugzilla/>"
+   REPORT_BUGS_TEXI="@uref{http://www.sourceware.org/bugzilla/}"
+)
+AC_SUBST(REPORT_BUGS_TO)
+AC_SUBST(REPORT_BUGS_TEXI)
+
 AM_BINUTILS_WARNINGS
 
 AM_CONFIG_HEADER(config.h:config.in)
This page took 0.029875 seconds and 4 git commands to generate.