Add new configure option, --with-bug-report-url, which allows users/vendors to
authorChad Rosier <mcrosier@apple.com>
Fri, 15 Jul 2011 00:37:26 +0000 (00:37 +0000)
committerChad Rosier <mcrosier@apple.com>
Fri, 15 Jul 2011 00:37:26 +0000 (00:37 +0000)
specify where bug reports should be submitted.
Part of rdar://9575623

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135233 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac

index 18890f6e1fe811a7e1c493454d2a5f6b9bdc341a..3c3ddaa666161a66d4bd88ec64f40af6aa47e946 100644 (file)
@@ -939,6 +939,14 @@ if test "x$WITH_BINUTILS_INCDIR" != xdefault ; then
   fi
 fi
 
+dnl Specify the URL where bug reports should be submitted.
+AC_ARG_WITH(bug-report-url,
+  AS_HELP_STRING([--with-bug-report-url],
+    [Specify the URL where bug reports should be submitted (default=http://llvm.org)]),,
+    withval="http://llvm.org")
+AC_DEFINE_UNQUOTED(BUG_REPORT_URL,"$withval",
+                   [Bug report URL.])
+
 dnl --enable-libffi : check whether the user wants to turn off libffi:
 AC_ARG_ENABLE(libffi,AS_HELP_STRING(
   --enable-libffi,[Check for the presence of libffi (default is NO)]),