From: Alex Badea Date: Tue, 9 Apr 2002 12:54:22 +0000 (+0000) Subject: Author: Alex Badea X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=be86d9bb6d890916866b1a8f2314c9f518d5d190 Author: Alex Badea Log message: Added a report of configured options to configure.in git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@718 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index 328738b..5d924a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2002-04-09 Alex Badea + + * configure.in: added a human-readable report of configured + options at the end of the configure process + + * configure: regenerated with autoconf + 2002-04-08 Gavin Grieve * include/supported.h: change CHARSET to CASEMAPPING after diff --git a/configure b/configure index 78bc9d5..f801d8f 100755 --- a/configure +++ b/configure @@ -1944,12 +1944,12 @@ else #line 1945 "configure" #include "confdefs.h" #include -int main() +main() { FILE *f=fopen("conftestval", "w"); - if (!f) return(1); + if (!f) exit(1); fprintf(f, "%d\n", sizeof(short)); - return(0); + exit(0); } EOF if { (eval echo configure:1956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null @@ -1983,12 +1983,12 @@ else #line 1984 "configure" #include "confdefs.h" #include -int main() +main() { FILE *f=fopen("conftestval", "w"); - if (!f) return(1); + if (!f) exit(1); fprintf(f, "%d\n", sizeof(int)); - return(0); + exit(0); } EOF if { (eval echo configure:1995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null @@ -2022,12 +2022,12 @@ else #line 2023 "configure" #include "confdefs.h" #include -int main() +main() { FILE *f=fopen("conftestval", "w"); - if (!f) return(1); + if (!f) exit(1); fprintf(f, "%d\n", sizeof(long)); - return(0); + exit(0); } EOF if { (eval echo configure:2034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null @@ -2061,12 +2061,12 @@ else #line 2062 "configure" #include "confdefs.h" #include -int main() +main() { FILE *f=fopen("conftestval", "w"); - if (!f) return(1); + if (!f) exit(1); fprintf(f, "%d\n", sizeof(void *)); - return(0); + exit(0); } EOF if { (eval echo configure:2073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null @@ -4087,3 +4087,27 @@ chmod +x $CONFIG_STATUS rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 + +echo " +ircu is now hopefully configured for your system. + + Host system: $host_os + Prefix: $prefix + Asserts: $unet_cv_enable_asserts + Warnings: $unet_cv_enable_warnings + Debug: $unet_cv_enable_debug + Profile: $unet_cv_enable_profile + Head-in-sand: $unet_cv_enable_headinsand + Owner/mode: $unet_cv_with_owner.$unet_cv_with_group ($unet_cv_with_mode) + Chroot: $unet_cv_with_chroot + + Domain: $unet_cv_with_domain + DPath: $unet_cv_with_dpath + CPath: $unet_cv_with_cpath + LPath: $unet_cv_with_lpath + Maximum connections: $unet_cv_with_maxcon + + poll() engine: $unet_cv_enable_poll + kqueue() engine: $unet_cv_enable_kqueue + /dev/poll engine: $unet_cv_enable_devpoll +" diff --git a/configure.in b/configure.in index e5f837e..204eb6f 100644 --- a/configure.in +++ b/configure.in @@ -670,3 +670,28 @@ AC_DEFINE_UNQUOTED(MAXCONNECTIONS, $unet_cv_with_maxcon, dnl Finally really generate all output files: AC_OUTPUT(Makefile ircd/Makefile doc/Makefile, [echo timestamp > stamp-h]) + +dnl Report configuration +echo " +ircu is now hopefully configured for your system. + + Host system: $host_os + Prefix: $prefix + Asserts: $unet_cv_enable_asserts + Warnings: $unet_cv_enable_warnings + Debug: $unet_cv_enable_debug + Profile: $unet_cv_enable_profile + Head-in-sand: $unet_cv_enable_headinsand + Owner/mode: $unet_cv_with_owner.$unet_cv_with_group ($unet_cv_with_mode) + Chroot: $unet_cv_with_chroot + + Domain: $unet_cv_with_domain + DPath: $unet_cv_with_dpath + CPath: $unet_cv_with_cpath + LPath: $unet_cv_with_lpath + Maximum connections: $unet_cv_with_maxcon + + poll() engine: $unet_cv_enable_poll + kqueue() engine: $unet_cv_enable_kqueue + /dev/poll engine: $unet_cv_enable_devpoll +"