aboutsummaryrefslogtreecommitdiff
path: root/editors/codelite/files/patch-configure
blob: d0349b3aa7cce810785eeaaaf956fb816e227d35 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- configure.orig	2008-05-14 19:24:35.000000000 +0200
+++ configure	2008-05-15 21:48:27.000000000 +0200
@@ -83,11 +83,9 @@
 		echo "INCLUDES := \$(INCLUDES) -ILiteEditor " >> Makefile 
 	fi
 	echo "" >> Makefile
-	if [ "$os_name" = "Linux" ]; then
-		echo "INCLUDES := \$(INCLUDES) \$(shell pkg-config --cflags gtk+-2.0)" >> Makefile
-		echo "LINK_FLAGS := \$(LINK_FLAGS) \$(shell pkg-config --libs gtk+-2.0)" >> Makefile
-	fi
-	echo "INCLUDES := \$(INCLUDES) -I. -I${base_dir}/sdk/wxsqlite3/include -I${base_dir}/sdk/wxsqlite3/sqlite3/include -I${base_dir}/sdk/wxscintilla/include -I${base_dir}/sdk/wxscintilla/src/scintilla/include	 -I${base_dir}/sdk/wxscintilla/src/scintilla/src -I${base_dir}/Interfaces -I${base_dir}/Debugger -I${base_dir}/Plugin -I${base_dir}/CodeLite -I${base_dir}/sdk/wxflatnotebook/include" >> Makefile 
+	echo "INCLUDES := \$(INCLUDES) \$(shell pkg-config --cflags gtk+-2.0)" >> Makefile
+	echo "LINK_FLAGS := \$(LINK_FLAGS) \$(shell pkg-config --libs gtk+-2.0)" >> Makefile
+	echo "INCLUDES := -I. -I${base_dir}/sdk/wxsqlite3/include -I${base_dir}/sdk/wxsqlite3/sqlite3/include -I${base_dir}/sdk/wxscintilla/include -I${base_dir}/sdk/wxscintilla/src/scintilla/include	 -I${base_dir}/sdk/wxscintilla/src/scintilla/src -I${base_dir}/Interfaces -I${base_dir}/Debugger -I${base_dir}/Plugin -I${base_dir}/CodeLite -I${base_dir}/sdk/wxflatnotebook/include \$(INCLUDES)" >> Makefile 
 	echo "" >> Makefile
 	echo "" >> Makefile
 }
@@ -381,12 +383,10 @@
 
 createEndMessage() 
 {
-	if [ "$os_name" = "Linux" ]; then
-		echo "post_build_msg:" >> Makefile
-		echo "	@echo ==========================================================" >> Makefile
-		echo "	@echo Done, please run \"sudo make install\"." >> Makefile
-		echo "	@echo ==========================================================" >> Makefile
-	fi
+	    echo "post_build_msg:" >> Makefile
+	    echo "	@echo ==========================================================" >> Makefile
+	    echo "	@echo Done, please run \"sudo make install\"." >> Makefile
+	    echo "	@echo ==========================================================" >> Makefile
 }
 
 ## main