Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5)

Side by Side Diff: aclocal.m4

Issue 547690053: build cleanups. (Closed)
Patch Set: rebase Created 5 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | config.make.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl aclocal.m4 -*-shell-script-*- 1 dnl aclocal.m4 -*-shell-script-*-
2 dnl StepMake subroutines for configure.ac 2 dnl StepMake subroutines for configure.ac
3 3
4 4
5 ### mostly internal macros 5 ### mostly internal macros
6 6
7 # Get full path of executable ($1) 7 # Get full path of executable ($1)
8 AC_DEFUN(STEPMAKE_GET_EXECUTABLE, [ 8 AC_DEFUN(STEPMAKE_GET_EXECUTABLE, [
9 ## which doesn't work in ash, if /usr/bin/which isn't installed 9 ## which doesn't work in ash, if /usr/bin/which isn't installed
10 ## type -p doesn't work in ash 10 ## type -p doesn't work in ash
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 OPTIMIZE="$OPTIMIZE -g" 224 OPTIMIZE="$OPTIMIZE -g"
225 fi 225 fi
226 ]) 226 ])
227 227
228 228
229 AC_DEFUN(STEPMAKE_COMPILE, [ 229 AC_DEFUN(STEPMAKE_COMPILE, [
230 AC_REQUIRE([STEPMAKE_COMPILE_BEFORE]) 230 AC_REQUIRE([STEPMAKE_COMPILE_BEFORE])
231 AC_REQUIRE([AC_PROG_CC]) 231 AC_REQUIRE([AC_PROG_CC])
232 232
233 STEPMAKE_OPTIONAL_REQUIRED(CC, cc, $1) 233 STEPMAKE_OPTIONAL_REQUIRED(CC, cc, $1)
234 LD='$(CC)'
235 AC_SUBST(LD)
236 234
237 # If -pipe requested, test if it works and add to CFLAGS. 235 # If -pipe requested, test if it works and add to CFLAGS.
238 if test "$pipe_b" = yes; then 236 if test "$pipe_b" = yes; then
239 save_cflags="$CFLAGS" 237 save_cflags="$CFLAGS"
240 CFLAGS=" -pipe $CFLAGS"; 238 CFLAGS=" -pipe $CFLAGS";
241 AC_CACHE_CHECK([whether compiler understands -pipe], 239 AC_CACHE_CHECK([whether compiler understands -pipe],
242 [stepmake_cv_cflags_pipe], 240 [stepmake_cv_cflags_pipe],
243 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[/* -pipe test */]])], 241 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[/* -pipe test */]])],
244 [stepmake_cv_cflags_pipe=yes], 242 [stepmake_cv_cflags_pipe=yes],
245 [stepmake_cv_cflags_pipe=no])) 243 [stepmake_cv_cflags_pipe=no]))
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after
1181 if test "$CYGWIN$MINGW32" = "nono"; then 1179 if test "$CYGWIN$MINGW32" = "nono"; then
1182 PLATFORM_WINDOWS=no 1180 PLATFORM_WINDOWS=no
1183 else 1181 else
1184 PLATFORM_WINDOWS=yes 1182 PLATFORM_WINDOWS=yes
1185 fi 1183 fi
1186 AC_MSG_RESULT([$PLATFORM_WINDOWS]) 1184 AC_MSG_RESULT([$PLATFORM_WINDOWS])
1187 AC_SUBST(PLATFORM_WINDOWS) 1185 AC_SUBST(PLATFORM_WINDOWS)
1188 STEPMAKE_PROGS(WINDRES, $target-windres windres, x) 1186 STEPMAKE_PROGS(WINDRES, $target-windres windres, x)
1189 AC_SUBST(WINDRES) 1187 AC_SUBST(WINDRES)
1190 ]) 1188 ])
OLDNEW
« no previous file with comments | « no previous file | config.make.in » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b