Code

fix portability to mac osx and freebsd -- tobi
[rrdtool.git] / Makefile.am
index 2167bfc90a5d368a9069cf3d87a6393e8be5b3b2..9f20a78b96833fbad4f0c68ab8656be6f56e2793 100644 (file)
@@ -2,7 +2,13 @@
 RSYNC = rsync --rsh=ssh
 
 # build the following subdirectories
-SUBDIRS = po src examples doc bindings
+if BUILD_LIBINTL
+PO=po
+else
+PO=
+endif
+
+SUBDIRS = $(PO) src examples doc bindings
 
  # the following files are not mentioned in any other Makefile
 EXTRA_DIST = COPYRIGHT CHANGES WIN32-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \