$(top_builddir)/lib/$(GRAPH)/lib$(GRAPH)_C.la \
$(top_builddir)/lib/xdot/libxdot_C.la \
$(top_builddir)/lib/cdt/libcdt_C.la \
- $(PANGOCAIRO_LIBS) $(PANGOFT2_LIBS) $(GTS_LIBS) $(ICONV_LIBS) $(EXPAT_LIBS) $(Z_LIBS) $(LIBGEN_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
+ $(PANGOCAIRO_LIBS) $(PANGOFT2_LIBS) $(GTS_LIBS) $(EXPAT_LIBS) $(Z_LIBS) $(LIBGEN_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
dot_builtins_SOURCES = dot.c dot_builtins.c
dot_builtins_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=1
$(top_builddir)/lib/$(GRAPH)/lib$(GRAPH).la \
$(top_builddir)/lib/xdot/libxdot.la \
$(top_builddir)/lib/cdt/libcdt.la \
- $(GTS_LIBS) $(ICONV_LIBS) $(EXPAT_LIBS) $(Z_LIBS) $(LIBGEN_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
+ $(GTS_LIBS) $(EXPAT_LIBS) $(Z_LIBS) $(LIBGEN_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
if WITH_LIBGD
-dot_static_LDADD += $(top_builddir)/plugin/gd/.libs/libgvplugin_gd_C.a $(GD_LIBS) $(FONTCONFIG_LIBS) $(FREETYPE2_LIBS) $(JPEG_LIBS) $(PNG_LIBS) $(Z_LIBS)
-dot_builtins_LDADD += $(top_builddir)/plugin/gd/libgvplugin_gd.la $(GD_LIBS) $(FONTCONFIG_LIBS) $(FREETYPE2_LIBS) $(JPEG_LIBS) $(PNG_LIBS) $(Z_LIBS)
+dot_static_LDADD += $(top_builddir)/plugin/gd/.libs/libgvplugin_gd_C.a $(GD_LIBS)
+dot_builtins_LDADD += $(top_builddir)/plugin/gd/libgvplugin_gd.la $(GD_LIBS)
endif
if WITH_PANGOCAIRO
$(top_builddir)/lib/expr/libexpr_C.la \
$(top_builddir)/lib/ingraphs/libingraphs_C.la \
$(top_builddir)/lib/neatogen/libneatogen_C.la \
- $(GTK_LIBS) $(GLUT_LIBS) $(GTKGLEXT_LIBS) $(GLADE_LIBS) $(EXPAT_LIBS) $(GTS_LIBS) $(PNG_LIBS) \
- $(EXTRA_SMYRNA_LDFLAGS)
+ $(GTK_LIBS) $(GLUT_LIBS) $(GTKGLEXT_LIBS) $(GLADE_LIBS) $(EXPAT_LIBS) $(GTS_LIBS) $(EXTRA_SMYRNA_LDFLAGS)
smyrna_static_SOURCES = $(smyrna_SOURCES)
smyrna_static_LDADD = $(top_builddir)/lib/cgraph/libcgraph_C.la \
$(top_builddir)/lib/expr/libexpr_C.la \
$(top_builddir)/lib/ingraphs/libingraphs_C.la \
$(top_builddir)/lib/neatogen/libneatogen_C.la \
- $(GTK_LIBS) $(GLUT_LIBS) $(GTKGLEXT_LIBS) $(GLADE_LIBS) $(EXPAT_LIBS) $(GTS_LIBS) $(PNG_LIBS)
+ $(GTK_LIBS) $(GLUT_LIBS) $(GTKGLEXT_LIBS) $(GLADE_LIBS) $(EXPAT_LIBS) $(GTS_LIBS)
smyrna.1.pdf: $(srcdir)/smyrna.1
- @GROFF@ -Tps -man $(srcdir)/smyrna.1 | @PS2PDF@ - - >smyrna.1.pdf
#AC_CHECK_LIB([cairo], [main])
#AC_CHECK_LIB([dl], [main])
#AC_CHECK_LIB([fl], [main])
-#AC_CHECK_LIB([fontconfig], [main])
-#AC_CHECK_LIB([freetype], [main])
-#AC_CHECK_LIB([iconv], [main])
#AC_CHECK_LIB([intl], [main])
-#AC_CHECK_LIB([jpeg], [main])
#AC_CHECK_LIB([m], [main])
#AC_CHECK_LIB([perl], [main])
-#AC_CHECK_LIB([png], [main])
#AC_CHECK_LIB([popt], [main])
#AC_CHECK_LIB([xml2], [main])
#AC_CHECK_LIB([z], [main])
AC_SUBST([GLUT_CFLAGS])
AC_SUBST([GLUT_LIBS])
-dnl -----------------------------------
-dnl INCLUDES and LIBS for PNG
-
-AC_ARG_WITH(png,
- [AS_HELP_STRING([--with-png=yes],[PNG library])],
- [], [with_png=yes])
-
-if test "x$with_png" != "xyes"; then
- use_png="No (disabled)"
-else
- save_CPPFLAGS=$CPPFLAGS
- save_LDFLAGS=$LDFLAGS
- AC_PATH_PROG(LIBPNG_CONFIG,libpng-config)
- if test -n "$LIBPNG_CONFIG"; then
- PNG_INCLUDES=`$LIBPNG_CONFIG --cflags`
- PNG_PREFIX=`$LIBPNG_CONFIG --prefix`
- if test "${PNG_PREFIX}/lib" != "/usr/lib" ; then
- PNG_LIBS="-L${PNG_PREFIX}/lib"
- fi
- else
- PNG_INCLUDES=""
- fi
- AC_ARG_WITH(pngincludedir,
- [AS_HELP_STRING([--with-pngincludedir=DIR],[use PNG includes from DIR])],
- [PNG_INCLUDES="-I$withval"])
- CPPFLAGS="$CPPFLAGS $PNG_INCLUDES $Z_INCLUDES"
- AC_ARG_WITH(pnglibdir,
- [AS_HELP_STRING([--with-pnglibdir=DIR],[use PNG libraries from DIR])],
- [PNG_LIBS="-L$withval"])
- LDFLAGS="$LDFLAGS $PNG_LIBS $Z_LIBS"
- AC_CHECK_HEADER(png.h,
- AC_CHECK_LIB(png,main,
- [PNG_LIBS="$PNG_LIBS -lpng"
- use_png="Yes"
- AC_DEFINE_UNQUOTED(HAVE_GD_PNG,1,[Define if the GD library has the GD_PNG feature])
- AC_DEFINE_UNQUOTED(HAVE_LIBPNG,1,[Define if you have the PNG library])],
- use_png="No (missing libpng)"
- AC_MSG_WARN(Optional png library not available),
- [$Z_LIBS $MATH_LIBS]),
- use_png="No (missing png.h)"
- AC_MSG_WARN(Optional png library not available - no png.h))
-
-fi
-LDFLAGS=$save_LDFLAGS
-CPPFLAGS=$save_CPPFLAGS
-AC_SUBST([PNG_INCLUDES])
-AC_SUBST([PNG_LIBS])
-
# -----------------------------------
# tclInt.h
if test -f "$TCL_SRC_DIR/generic/tclInt.h"; then
AC_MSG_WARN(SMYRNA requires GLUT)
requires="$requires glut"
fi
- if test "x$use_png" != "xYes"; then
- AC_MSG_WARN(SMYRNA requires PNG)
- requires="$requires png"
- fi
if test "x$requires" != "x"; then
use_smyrna="No (requires:$requires)"
else
echo " ipsepcola: $use_ipsepcola"
echo " ltdl: $use_ltdl"
echo " ortho: $use_ortho"
-echo " png: $use_png"
-echo " jpeg: $use_jpeg"
echo " sfdp: $use_sfdp"
echo " shared: $use_shared"
echo " static: $use_static"
# GDTCLFT requires gd libs to be builtin
if WITH_LIBGD
-libtcldot_la_LIBADD += $(GD_LIBS) $(FONTCONFIG_LIBS) $(FREETYPE2_LIBS) $(JPEG_LIBS) $(PNG_LIBS) $(Z_LIBS)
+libtcldot_la_LIBADD += $(GD_LIBS)
endif
-libtcldot_la_LIBADD += $(LIBGEN_LIBS) $(ICONV_LIBS) $(MATH_LIBS)
+libtcldot_la_LIBADD += $(LIBGEN_LIBS) $(MATH_LIBS)
libtcldot_builtin_la_SOURCES = tcldot.c tcldot_builtins.c $(GDTCLFT)
libtcldot_builtin_la_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=1
if WITH_LIBGD
libtcldot_builtin_la_LIBADD += $(top_builddir)/plugin/gd/libgvplugin_gd_C.la
-libtcldot_builtin_la_LIBADD += $(GD_LIBS) $(FONTCONFIG_LIBS) $(FREETYPE2_LIBS) $(JPEG_LIBS) $(PNG_LIBS) $(Z_LIBS)
+libtcldot_builtin_la_LIBADD += $(GD_LIBS)
endif
-libtcldot_builtin_la_LIBADD += $(ICONV_LIBS) $(EXPAT_LIBS) $(LIBGEN_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
+libtcldot_builtin_la_LIBADD += $(EXPAT_LIBS) $(LIBGEN_LIBS) $(SOCKET_LIBS) $(IPSEPCOLA_LIBS) $(MATH_LIBS)
if WITH_TCL
all-local: pkgIndex.tcl