summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-07 20:21:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-07 20:21:02 +0000
commita43eecd51039b8aba565fd286cd729a5afa3bb97 (patch)
tree6d8e6ffafed10802fdac3031c07d9e3be8e99b0a /configure
parent89249e32fcdcba46bb5c55383215339ebd5a68ec (diff)
Add ./configure --generate-{gnutls,openssl}-cert for easy re-generation of a certificate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11040 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index c3ce62e3c..a29f2d5fd 100755
--- a/configure
+++ b/configure
@@ -144,6 +144,8 @@ GetOptions (
'list-extras' => sub { list_extras; exit 0; }, # This, --enable-extras, and --disable-extras are for non-interactive managing.
'enable-extras=s@' => \@opt_enableextras, # ^
'disable-extras=s@' => \@opt_disableextras, # ^
+ 'generate-openssl-cert' => sub { make_openssl_cert(); exit(0); },
+ 'generate-gnutls-cert' => sub { make_gnutls_cert(); exit(0); }
);
if (scalar(@opt_enableextras) + scalar(@opt_disableextras) > 0) {