]> granicus.if.org Git - graphviz/commitdiff
Remove LEFTYDATADIR from Windows build since it is built on '/' path
authorerg <devnull@localhost>
Tue, 13 Mar 2007 18:34:56 +0000 (18:34 +0000)
committererg <devnull@localhost>
Tue, 13 Mar 2007 18:34:56 +0000 (18:34 +0000)
separator and lefty is looking for '\'. Also, it is unlikely the
path will be where the software is installed.

cmd/lefty/Makefile.am

index 0c1d677bbabc53acb13938972d2c1f6023336446..36ad871a57b5a20376e7756e11dd7cede70e9062 100644 (file)
@@ -30,14 +30,17 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/cmd/lefty/ws/mswin32 \
        -I$(top_srcdir)/cmd/lefty/os/mswin32 \
        -I$(top_srcdir)/cmd/lefty/dot2l @XAW_INCLUDES@
+
+AM_CFLAGS = -DHAVE_CONFIG_H @X_CFLAGS@
 else
 AM_CPPFLAGS = \
        -I$(top_srcdir)/cmd/lefty/ws/x11 \
        -I$(top_srcdir)/cmd/lefty/os/unix \
        -I$(top_srcdir)/cmd/lefty/dot2l @XAW_INCLUDES@
-endif
 
 AM_CFLAGS = -DLEFTYDATADIR=\"$(leftydir)\" -DHAVE_CONFIG_H @X_CFLAGS@
+endif
+
 
 man = lefty.1
 pdf = lefty.pdf