--- a/configure Tue Aug 13 22:03:19 2019 +0200 +++ b/configure Tue Aug 13 22:14:32 2019 +0200 @@ -330,8 +330,8 @@ while true do - CFLAGS="CFLAGS -DLINUX" - LDFLAGS="LDFLAGS -lpthread -ldl -lm -lldap" + CFLAGS="$CFLAGS -DLINUX" + LDFLAGS="$LDFLAGS -lpthread -ldl -lm -lldap" cat >> $TEMP_DIR/make.mk << __EOF__ # platform dependend source files PLATFORM_DAEMONOBJ = event_linux.o @@ -359,8 +359,8 @@ while true do - CFLAGS="CFLAGS -DBSD" - LDFLAGS="LDFLAGS -lpthread -lm -lldap" + CFLAGS="$CFLAGS -DBSD" + LDFLAGS="$LDFLAGS -lpthread -lm -lldap" cat >> $TEMP_DIR/make.mk << __EOF__ # platform dependend source files PLATFORM_DAEMONOBJ = event_bsd.o @@ -385,8 +385,8 @@ while true do - CFLAGS="CFLAGS -DBSD -DOSX" - LDFLAGS="LDFLAGS -lpthread -ldl -lm -lldap" + CFLAGS="$CFLAGS -DBSD -DOSX" + LDFLAGS="$LDFLAGS -lpthread -ldl -lm -lldap" cat >> $TEMP_DIR/make.mk << __EOF__ # platform dependend source files PLATFORM_DAEMONOBJ = event_bsd.o @@ -411,8 +411,8 @@ while true do - CFLAGS="CFLAGS -DSOLARIS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" - LDFLAGS="LDFLAGS -lsocket -lnsl -lsendfile -lposix4 -lpthread -ldl -lm -lmd -lldap" + CFLAGS="$CFLAGS -DSOLARIS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" + LDFLAGS="$LDFLAGS -lsocket -lnsl -lsendfile -lposix4 -lpthread -ldl -lm -lmd -lldap" cat >> $TEMP_DIR/make.mk << __EOF__ # platform dependend source files PLATFORM_DAEMONOBJ = event_solaris.o