/[autoconf]/autoconf/lib/autoconf/general.m4
ViewVC logotype

Diff of /autoconf/lib/autoconf/general.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.800 by akim, Wed Jul 17 08:17:29 2002 UTC revision 1.801 by akim, Thu Jul 18 11:57:32 2002 UTC
# Line 1272  m4_define([AC_INIT], Line 1272  m4_define([AC_INIT],
1272  m4_pattern_forbid([^_?A[CHUM]_])  m4_pattern_forbid([^_?A[CHUM]_])
1273  m4_pattern_forbid([_AC_])  m4_pattern_forbid([_AC_])
1274  m4_pattern_forbid([^LIBOBJS$],  m4_pattern_forbid([^LIBOBJS$],
1275                    [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS'])                    [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
1276  # Actually reserved by M4sh.  # Actually reserved by M4sh.
1277  m4_pattern_allow([^AS_FLAGS$])  m4_pattern_allow([^AS_FLAGS$])
1278  AS_INIT  AS_INIT
# Line 2393  AC_SUBST([LIB@&t@OBJS])dnl Line 2393  AC_SUBST([LIB@&t@OBJS])dnl
2393  LIB@&t@OBJS="$LIB@&t@OBJS $1.$ac_objext"])  LIB@&t@OBJS="$LIB@&t@OBJS $1.$ac_objext"])
2394    
2395    
2396    
2397  # AC_LIBOBJ(FILENAME-NOEXT)  # AC_LIBOBJ(FILENAME-NOEXT)
2398  # -------------------------  # -------------------------
2399  # We need `FILENAME-NOEXT.o', save this into `LIBOBJS'.  # We need `FILENAME-NOEXT.o', save this into `LIBOBJS'.
# Line 2404  m4_define([AC_LIBOBJ], Line 2405  m4_define([AC_LIBOBJ],
2405  ])  ])
2406    
2407    
2408    # _AC_LIBOBJS_NORMALIZE
2409    # ---------------------
2410    # Clean up LIBOBJS abd LTLIBOBJS so that they work with 1. ac_objext,
2411    # 2. Automake's ANSI2KNR, 3. Libtool, 4. combination of the three.
2412    # Used with AC_CONFIG_COMMANDS_PRE.
2413    AC_DEFUN([_AC_LIBOBJS_NORMALIZE],
2414    [ac_libobjs=
2415    ac_ltlibobjs=
2416    for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
2417      # 1. Remove the extension, and $U if already installed.
2418      ac_i=`echo "$ac_i" |
2419             sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2420      # 2. Add them.
2421      ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2422      ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2423    done
2424    AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
2425    AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
2426    ])
2427    
2428    
2429  ## ----------------------------------- ##  ## ----------------------------------- ##
2430  ## Checking compiler characteristics.  ##  ## Checking compiler characteristics.  ##

Legend:
Removed from v.1.800  
changed lines
  Added in v.1.801

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26