annotate vpath.sed @ 56104:a450e67752ed

(Vimage_types): Move from xdisp.c. (Vimage_type_cache): New variable. (define_image_type): New argument indicating whether an image library was loaded; cache loaded status and return t on success, nil otherwise. (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. (w32_delayed_load): New function to load an image library from a list of possible filenames. (init_xpm_functions, init_png_functions, init_jpeg_functions) (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. (Finit_image_library): New function, extracted from `init_image'. Try to initialize an image library on demand and cache whether we were successful or not. (syms_of_image): Initialize `Vimage_types' and `Vimage_type_cache'. Add recognized image types to Vimage_types. Export `init-image-library'. (init_image): Remove initialization of all image types, except xbm and pbm.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 14 Jun 2004 20:47:25 +0000
parents 695cf19ef79e
children 375f2633d815
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4703
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
1 /^VPATH *=/c\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
2 # This works only in GNU make. Using the patterns avoids\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
3 # object files being found by VPATH, and thus permits building\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
4 # when $srcdir is configured itself.\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
5 vpath %.c $(srcdir)\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
6 vpath %.h $(srcdir)\
c5419d943526 Initial revision
Roland McGrath <roland@gnu.org>
parents:
diff changeset
7 \
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 11834
diff changeset
8
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 11834
diff changeset
9 # arch-tag: 56a64b50-e4e8-443a-960f-f13af0f1a545