diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 15:31:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-11 15:31:33 +0000 |
commit | 41471dee973c34bffa59086440b5af40a02f2bb0 (patch) | |
tree | 00df381769638fff1d423d40a5700c1d82762f79 /configure | |
parent | 5d91b2bbaf745e651429e3f2f0c09941dbea945c (diff) |
Added verbose output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3149 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 18 insertions, 6 deletions
@@ -618,9 +618,15 @@ print "\033[0mGnuTLS Support:\033[1;32m\t\t\t$config{USE_GNUTLS}\033[0m\n"; print "\033[0mOpenSSL Support:\033[1;32m\t\t$config{USE_OPENSSL}\033[0m\n\n"; if ($config{USE_GNUTLS} eq "y") { - system("cd src/modules"); - system("ln -s extra/m_ssl_gnutls.cpp"); - system("cd ../.."); + $failed = 0; + open(TMP, "<src/modules/m_ssl_gnutls.cpp") or $failed = 1; + close(TMP); + if ($failed) { + print "Symlinking src/modules/m_ssl_gnutls.cpp from extra/\n"; + system("cd src/modules"); + system("ln -s extra/m_ssl_gnutls.cpp"); + system("cd ../.."); + } getmodules(); $failed = 0; open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1; @@ -646,9 +652,15 @@ if ($config{USE_GNUTLS} eq "y") { print "SSL Certificates found, skipping.\n\n" } } elsif ($config{USE_OPENSSL} eq "y") { - system("cd src/modules"); - system("ln -s extra/m_ssl_openssl.cpp"); - system("cd ../.."); + $failed = 0; + open(TMP, "<src/modules/m_ssl_openssl.cpp") or $failed = 1; + close(TMP); + if ($failed) { + print "Symlinking src/modules/m_ssl_openssl.cpp from extra/\n"; + system("cd src/modules"); + system("ln -s extra/m_ssl_openssl.cpp"); + system("cd ../.."); + } getmodules(); $failed = 0; open(TMP, "<$config{CONFIG_DIR}/key.pem") or $failed = 1; |