Changeset 7464
- Timestamp:
- Jun 9, 2006, 1:27:10 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/configure.ac (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.ac
r7452 r7464 159 159 160 160 dnl Store off CFLAGS/LDFLAGS so that they can be restored after tests 161 TMP_CFLAGS=${CPPFLAGS} 161 162 TMP_CFLAGS=${CFLAGS} 162 163 TMP_LDFLAGS=${LDFLAGS} 163 164 165 CPPFLAGS=${PSLIB_CFLAGS} 164 166 CFLAGS=${PSLIB_CFLAGS} 165 167 LDFLAGS=${PSLIB_LIBS} … … 180 182 181 183 dnl restore the CFLAGS/LDFLAGS 184 CPPFLAGS=${TMP_CPPFLAGS} 182 185 CFLAGS=${TMP_CFLAGS} 183 186 LDFLAGS=${TMP_LDFLAGS} … … 200 203 PSLIB_LIBS="${PSLIB_LIBS=} $FFTW3_LDFLAGS -lfftw3f" 201 204 202 dnl Store off CFLAGS/LDFLAGS so that they can be restored after tests 205 dnl Store off CPPFLAGS/CFLAGS/LDFLAGS so that they can be restored after tests 206 TMP_CPPFLAGS=${CPPFLAGS} 203 207 TMP_CFLAGS=${CFLAGS} 204 208 TMP_LDFLAGS=${LDFLAGS} 205 209 206 210 CFLAGS="${TMP_CFLAGS} ${PSLIB_CFLAGS}" 211 CPPFLAGS="$CFLAGS" 207 212 LDFLAGS="${TMP_LDFLAGS} ${PSLIB_LIBS}" 208 213 AC_CHECK_HEADERS([fftw3.h],[], … … 215 220 216 221 dnl restore the CFLAGS/LDFLAGS 222 CPPFLAGS=${TMP_CPPFLAGS} 217 223 CFLAGS=${TMP_CFLAGS} 218 224 LDFLAGS=${TMP_LDFLAGS} … … 254 260 [JPEG_LDFLAGS="-L$withval"]) 255 261 256 dnl Store off CFLAGS/LDFLAGS so that they can be restored after tests 262 dnl Store off CPPFLAGS/CFLAGS/LDFLAGS so that they can be restored after tests 263 TMP_CPPFLAGS=${CPPFLAGS} 257 264 TMP_CFLAGS=${CFLAGS} 258 265 TMP_LDFLAGS=${LDFLAGS} 259 266 260 267 CFLAGS="${TMP_CFLAGS} ${JPEG_CFLAGS}" 268 CPPFLAGS="$CFLAGS" 261 269 LDFLAGS="${TMP_LDFLAGS} ${JPEG_LDFLAGS}" 262 270 … … 269 277 ) 270 278 271 dnl restore the CFLAGS/LDFLAGS 279 dnl restore the CFLAGS/LDFLAGS in case we decide to make missing libjpeg only a warning 280 CPPFLAGS=${TMP_CPPFLAGS} 272 281 CFLAGS=${TMP_CFLAGS} 273 282 LDFLAGS=${TMP_LDFLAGS}
Note:
See TracChangeset
for help on using the changeset viewer.
