Skip to content

Commit 8aeb73e

Browse files
committed
Partial fix for GRAPHICS_DISABLED build, issue #679
Include automatically generated configuration file if running autoconf
1 parent f566a45 commit 8aeb73e

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

lstm/lstmrecognizer.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
// limitations under the License.
1717
///////////////////////////////////////////////////////////////////////
1818

19+
// Include automatically generated configuration file if running autoconf.
20+
#ifdef HAVE_CONFIG_H
21+
#include "config_auto.h"
22+
#endif
23+
1924
#include "lstmrecognizer.h"
2025

2126
#include "allheaders.h"

lstm/lstmtrainer.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
// limitations under the License.
1717
///////////////////////////////////////////////////////////////////////
1818

19+
// Include automatically generated configuration file if running autoconf.
20+
#ifdef HAVE_CONFIG_H
21+
#include "config_auto.h"
22+
#endif
23+
1924
#include "lstmtrainer.h"
2025
#include <string>
2126

lstm/network.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
// limitations under the License.
1717
///////////////////////////////////////////////////////////////////////
1818

19+
// Include automatically generated configuration file if running autoconf.
20+
#ifdef HAVE_CONFIG_H
21+
#include "config_auto.h"
22+
#endif
23+
1924
#include "network.h"
2025

2126
#include <stdlib.h>

0 commit comments

Comments
 (0)