ref: 1d3b273089e764febbc0bb1d4293086c068c3301
parent: 8d9f9e8c58a7ee75f49e92df1ebd8e5b2ef2f5e3
author: Ralph Giles <giles@mozilla.com>
date: Fri Aug 31 20:03:53 EDT 2012
Define fallback PACKAGE and VERSION. I only did this for opusrtp, since Makefile.unix doesn't build it, and it's tedious to define these every time when compiling. Also makes the compilation instructions at the top of the file valid again.
--- a/src/opusrtp.c
+++ b/src/opusrtp.c
@@ -34,6 +34,13 @@
#ifdef HAVE_CONFIG_H
# include "config.h"
+#else
+# ifndef PACKAGE
+# define PACKAGE "opus-tools"
+# endif
+# ifndef VERSION
+# define VERSION "unknown"
+# endif
#endif
#include <stdio.h>