changeset 1:e62c9115d17e

Fixes for updated Dynamic Windows
author Brian Smith <brian@dbsoft.org>
date Fri, 21 Jan 2011 19:48:07 -0600
parents aea3951b71bc
children 730c0ad1bc29
files Makefile.in configure.in
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Fri Jan 21 18:25:00 2011 -0600
+++ b/Makefile.in	Fri Jan 21 19:48:07 2011 -0600
@@ -17,7 +17,7 @@
 INCLUDES = @INCLUDES@
 
 CFLAGS = @CFLAGS@ -I$(DWINCDIR) -DDW_RESOURCES
-LDFLAGS = @LDFLAGS@ -L$(DWLIBDIR) -ldw -ldwcompat
+LDFLAGS = @LDFLAGS@ -L$(DWLIBDIR) -ldwindows -ldwcompat
 
 
 OBJECTS = dmail.o backend.o receive.o send.o parse.o account.o datetime.o
--- a/configure.in	Fri Jan 21 18:25:00 2011 -0600
+++ b/configure.in	Fri Jan 21 19:48:07 2011 -0600
@@ -37,10 +37,10 @@
   fi
 fi
 
-LIBS=`dw-config --libs`
-CFLAGS=`dw-config --cflags`
+LIBS=`dwindows-config --libs`
+CFLAGS=`dwindows-config --cflags`
 
-AC_CHECK_LIB(dw, dw_main,LIBS="$LIBS",AC_MSG_ERROR(Dynamic Windows library not found. HandyFTP cannot build without it.))
+AC_CHECK_LIB(dwindows, dw_main,LIBS="$LIBS",AC_MSG_ERROR(Dynamic Windows library not found. HandyFTP cannot build without it.))
 
 AC_CHECK_LIB(sun, getpwnam, LIBS="$LIBS -lsun",)
 AC_CHECK_LIB(dgc, inet_addr, LIBS="$LIBS -ldgc",)