[icinga-checkins] icinga.org: icinga-core/next: make --with-mainurl default dependent on --with-cgiurl=.../tac.cgi

git at icinga.org git at icinga.org
Tue Oct 16 15:19:10 CEST 2012


Module: icinga-core
Branch: next
Commit: 408da858340d6c5d03784be6d531c58326390783
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=408da858340d6c5d03784be6d531c58326390783

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Tue Oct 16 15:18:28 2012 +0200

make --with-mainurl default dependent on --with-cgiurl=.../tac.cgi

---

 configure    |    2 +-
 configure.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 9c5eb72..2b31d2a 100755
--- a/configure
+++ b/configure
@@ -6110,7 +6110,7 @@ fi
 if test "${with_mainurl+set}" = set; then :
   withval=$with_mainurl; mainurl=$withval
 else
-  mainurl=/icinga/cgi-bin/tac.cgi
+  mainurl=$cgiurl/tac.cgi
 fi
 
 
diff --git a/configure.in b/configure.in
index 482cde6..7546a63 100644
--- a/configure.in
+++ b/configure.in
@@ -719,7 +719,7 @@ AC_ARG_WITH(cgiurl,AC_HELP_STRING([--with-cgiurl=<local-url>],[sets URL for cgi
 AC_SUBST(cgiurl)
 AC_ARG_WITH(htmurl,AC_HELP_STRING([--with-htmurl=<local-url>],[sets URL for public html]),htmurl=$withval,htmurl=/icinga)
 AC_SUBST(htmurl)
-AC_ARG_WITH(mainurl,AC_HELP_STRING([--with-mainurl=<local-url>],[sets URL for default main frame in index.html (use quotes if special chars like & used)]),mainurl=$withval,mainurl=/icinga/cgi-bin/tac.cgi)
+AC_ARG_WITH(mainurl,AC_HELP_STRING([--with-mainurl=<local-url>],[sets URL for default main frame in index.html (use quotes if special chars like & used)]),mainurl=$withval,mainurl=$cgiurl/tac.cgi)
 AC_SUBST(mainurl)
 
 USE_NANOSLEEP=yes





More information about the icinga-checkins mailing list