mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 14:33:13 +02:00
Fixed a t.next recode typo and added -pipe check for gcc
This commit is contained in:
@@ -1135,3 +1135,5 @@ v- Fixed some bugreport stuff
|
||||
- Fixed some minor issues with dialog interface for .pem SSL passwords
|
||||
- Added makecert.bat / encpem.bat to src/win32, which are used in SSL release
|
||||
- Fixed some t.next's and replaced with codemastr method(tm)
|
||||
- Fixed a t.next recode typo
|
||||
- Added a ./Config check to see if gcc supports -pipe (speeds up compilation)
|
||||
|
||||
@@ -13,6 +13,15 @@ fi
|
||||
if test "$ac_cv_gcc3" = "yes"; then
|
||||
CFLAGS="$CFLAGS -Wnone"
|
||||
fi
|
||||
AC_CACHE_CHECK(if gcc has a working -pipe, ac_cv_pipe, [
|
||||
save_cflags="$CFLAGS"
|
||||
CFLAGS="$CFLAGS -pipe"
|
||||
AC_TRY_COMPILE(,, ac_cv_pipe="yes", ac_cv_pipe="no")
|
||||
CFLAGS="$save_cflags"
|
||||
])
|
||||
if test "$ac_cv_pipe" = "yes"; then
|
||||
CFLAGS="-pipe $CFLAGS"
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_PATH_PROG(RM,rm)
|
||||
|
||||
+1
-1
@@ -236,7 +236,7 @@ void dcc_wipe_services(void)
|
||||
|
||||
for (dconf = conf_deny_dcc; dconf; dconf = (ConfigItem_deny_dcc *) next)
|
||||
{
|
||||
next = dconf->next;
|
||||
next = (ConfigItem_deny_dcc *)dconf->next;
|
||||
if ((dconf->flag.type2 == CONF_BAN_TYPE_AKILL))
|
||||
{
|
||||
DelListItem(dconf, conf_deny_dcc);
|
||||
|
||||
Reference in New Issue
Block a user