[libnet-client] Fixed compile time warning 85/59485/1 accepted/tizen/ivi/20160223.231821 accepted/tizen/mobile/20160223.231728 accepted/tizen/tv/20160223.231742 accepted/tizen/wearable/20160223.231800 submit/tizen/20160223.060827
authorSaurav Babu <saurav.babu@samsung.com>
Tue, 16 Feb 2016 04:34:56 +0000 (10:04 +0530)
committerSaurav Babu <saurav.babu@samsung.com>
Tue, 16 Feb 2016 04:34:56 +0000 (10:04 +0530)
Following compile time warning was observed:
[   23s] Makefile.am:16: warning: source file 'src/network-wifi-intf.c' is in a subdirectory,
[   23s] Makefile.am:16: but option 'subdir-objects' is disabled
[   23s] automake: warning: possible forward-incompatibility.
[   23s] automake: At least a source file is in a subdirectory, but the 'subdir-objects'
[   23s] automake: automake option hasn't been enabled.  For now, the corresponding output
[   23s] automake: object file(s) will be placed in the top-level directory.  However,
[   23s] automake: this behaviour will change in future Automake versions: they will
[   23s] automake: unconditionally cause object files to be placed in the same subdirectory
[   23s] automake: of the corresponding sources.
[   23s] automake: You are advised to start using 'subdir-objects' option throughout your
[   23s] automake: project, to avoid future incompatibilities.

This patch adds subdir-objects option to Automake.

Change-Id: I49229f025fbbb2db3e942dd792073924afab9a54
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
configure.ac

index 9a42c8137eb2cb8b1d134650fa16f0ac7bd6834e..d9c3e3881c11eaf9bf24d3d2e16c097caf58a8ce 100755 (executable)
@@ -3,7 +3,7 @@
 
 AC_PREREQ(2.61)
 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
-AM_INIT_AUTOMAKE(src, 1.0)
+AM_INIT_AUTOMAKE([foreign subdir-objects color-tests])
 AC_CONFIG_HEADER([config.h])
 AC_CONFIG_MACRO_DIR([m4])