]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - configure
Add a typedef for the data provider map.
[user/henk/code/inspircd.git] / configure
index cac9fedb51840b2fa8978dec97f638b5b58a58be..223fc4d14c5720ca2af1edfe67a42c1980c47814 100755 (executable)
--- a/configure
+++ b/configure
@@ -2,6 +2,8 @@
 #
 # InspIRCd -- Internet Relay Chat Daemon
 #
+#   Copyright (C) 2020 Nicole Kleinhoff <ilbelkyr@shalture.org>
+#   Copyright (C) 2020 Daniel Vassdal <shutter@canternet.org>
 #   Copyright (C) 2019 Matt Schatz <genius3000@g3k.solutions>
 #   Copyright (C) 2019 Anatole Denis <natolumin@rezel.net>
 #   Copyright (C) 2017 emerson <github@emersonveenstra.net>
@@ -109,8 +111,8 @@ exit 1 unless GetOptions(
 );
 
 if (scalar(@opt_enableextras) + scalar(@opt_disableextras) > 0) {
-       @opt_enableextras = split /[, ]+/, join(',', @opt_enableextras);
-       @opt_disableextras = split /[, ]+/, join(',', @opt_disableextras);
+       @opt_enableextras = grep { /\S/ } split /[, ]+/, join(',', @opt_enableextras);
+       @opt_disableextras = grep { /\S/ } split /[, ]+/, join(',', @opt_disableextras);
        enable_extras(@opt_enableextras);
        disable_extras(@opt_disableextras);
        list_extras;