~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/po.m4

Added code necessary for building plugins dynamically.
Merged in changes from lifeless to allow autoreconf to work.
Touching plugin.ini files now triggers a rebuid - so config/autorun.sh is no
longer required to be run after touching those.
Removed the duplicate plugin names - also removed the issue that getting them
different would silently fail weirdly later.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
        # Treat a directory as a PO directory if and only if it has a
116
116
        # POTFILES.in file. This allows packages to have multiple PO
117
117
        # directories under different names or in different locations.
118
 
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
 
118
        if test -f "$ac_dir/POTFILES.in"; then
119
119
          rm -f "$ac_dir/POTFILES"
120
120
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
121
 
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
 
121
          cat "$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[    ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
122
122
          POMAKEFILEDEPS="POTFILES.in"
123
123
          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
124
124
          # on $ac_dir but don't depend on user-specified configuration